(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
This commit is contained in:
@@ -124,6 +124,7 @@ struct Aircraft : public Vehicle {
|
||||
Money GetRunningCost() const { return AircraftVehInfo(this->engine_type)->running_cost * _price.aircraft_running; }
|
||||
bool IsInDepot() const { return (this->vehstatus & VS_HIDDEN) != 0 && IsHangarTile(this->tile); }
|
||||
void Tick();
|
||||
void OnNewDay();
|
||||
};
|
||||
|
||||
#endif /* AIRCRAFT_H */
|
||||
|
Reference in New Issue
Block a user