summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authornchappe <74881848+nchappe@users.noreply.github.com>2021-11-19 00:04:22 +0000
committerGitHub <noreply@github.com>2021-11-19 00:04:22 +0000
commit2cb6351af596178ac3169baeffbc5a827f9aad5f (patch)
treee40780f85eb7ebb5d7e188626c9d6d82e6fd148d /src/vehicle_base.h
parent0533b666b7036750ed0b004f22f933625391dd8e (diff)
downloadopenttd-2cb6351af596178ac3169baeffbc5a827f9aad5f.tar.xz
Fix: Update last servicing dates when using the date cheat (#9694)
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index a5549b444..12acaa8ed 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -545,6 +545,8 @@ public:
*/
virtual void OnNewDay() {};
+ void ShiftDates(int interval);
+
/**
* Crash the (whole) vehicle chain.
* @param flooded whether the cause of the crash is flooding or not.