(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
This commit is contained in:
@@ -425,6 +425,11 @@ public:
|
||||
*/
|
||||
virtual void Tick() {};
|
||||
|
||||
/**
|
||||
* Calls the new day handler of the vehicle
|
||||
*/
|
||||
virtual void OnNewDay() {};
|
||||
|
||||
/**
|
||||
* Gets the running cost of a vehicle that can be sent into SetDParam for string processing.
|
||||
* @return the vehicle's running cost
|
||||
|
Reference in New Issue
Block a user