File diff r14848:8e2ba5b203eb → r14849:27386629fac1
src/order_cmd.cpp
Show inline comments
 
@@ -535,7 +535,7 @@ CommandCost CmdInsertOrder(TileIndex til
 
					ret.SetGlobalErrorMessage();
 
					if (ret.Failed()) return ret;
 

	
 
					if (!CanVehicleUseStation(v, st) || st->GetAirportSpec()->nof_depots == 0) {
 
					if (!CanVehicleUseStation(v, st) || st->airport.GetSpec()->nof_depots == 0) {
 
						return CMD_ERROR;
 
					}
 
				} else {