src/aircraft_cmd.cpp
changeset 6953 230d1e3ac86c
parent 6950 14ecb0acdfb4
child 6980 c7c4f3bf5901
equal deleted inserted replaced
6952:b19643469024 6953:230d1e3ac86c
   491 		// Invalidate depot
   491 		// Invalidate depot
   492 		InvalidateWindow(WC_VEHICLE_DEPOT, v->tile);
   492 		InvalidateWindow(WC_VEHICLE_DEPOT, v->tile);
   493 		DoDeleteAircraft(v);
   493 		DoDeleteAircraft(v);
   494 	}
   494 	}
   495 
   495 
   496 	return CommandCost(-(int32)v->value);
   496 	return CommandCost(-v->value);
   497 }
   497 }
   498 
   498 
   499 /** Start/Stop an aircraft.
   499 /** Start/Stop an aircraft.
   500  * @param tile unused
   500  * @param tile unused
   501  * @param flags for command type
   501  * @param flags for command type