src/order_cmd.cpp
branchNewGRF_ports
changeset 6856 0e8e4ebf23ff
parent 6800 6c09e1e86fcb
child 6870 ca3fd1fbe311
--- a/src/order_cmd.cpp	Tue Aug 21 17:42:30 2007 +0000
+++ b/src/order_cmd.cpp	Tue Aug 21 19:33:49 2007 +0000
@@ -239,7 +239,7 @@
 
 				if (!CheckOwnership(st->owner) ||
 						!(st->facilities & FACIL_AIRPORT) ||
-						st->Airport()->nof_depots == 0) {
+						st->Airport()->num_depots == 0) {
 					return CMD_ERROR;
 				}
 			} else {