diff options
author | nchappe <74881848+nchappe@users.noreply.github.com> | 2021-11-19 00:04:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 00:04:22 +0000 |
commit | 2cb6351af596178ac3169baeffbc5a827f9aad5f (patch) | |
tree | e40780f85eb7ebb5d7e188626c9d6d82e6fd148d /src/vehicle_base.h | |
parent | 0533b666b7036750ed0b004f22f933625391dd8e (diff) | |
download | openttd-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.h | 2 |
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. |