From 525409b0fc2bf3668d2dc0228fc8d2e14a5e7a48 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 1 Feb 2008 22:02:14 +0000 Subject: (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class --- src/vehicle_base.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vehicle_base.h') diff --git a/src/vehicle_base.h b/src/vehicle_base.h index f6eedf51a..cce77aa4d 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -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 -- cgit v1.2.3-54-g00ecf