forked from mirror/OpenTTD
(svn r20) Feature: warning when a vehicle has invalid orders (celestar)
This commit is contained in:
@@ -127,9 +127,13 @@ void OnNewDay_Ship(Vehicle *v)
|
||||
AgeVehicle(v);
|
||||
CheckIfShipNeedsService(v);
|
||||
|
||||
CheckOrders(v);
|
||||
|
||||
if (v->vehstatus & VS_STOPPED)
|
||||
return;
|
||||
|
||||
|
||||
|
||||
cost = ship_vehicle_info(v->engine_type).running_cost * _price.ship_running / 364;
|
||||
v->profit_this_year -= cost >> 8;
|
||||
|
||||
|
Reference in New Issue
Block a user