diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2020-01-03 14:11:33 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-01-05 20:51:26 +0000 |
commit | d1cead7f251e09e572c73130bad601f7d991ecc6 (patch) | |
tree | cf8b1c6b508eccbe0760f1b6b397c6b187f9c801 /src/order_base.h | |
parent | cddb8a4605570666e076ab0e0f7b1f986f393e17 (diff) | |
download | openttd-d1cead7f251e09e572c73130bad601f7d991ecc6.tar.xz |
Fix: When loading old timetabled saves, also reset cached timetable duration
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/order_base.h b/src/order_base.h index 347adbcee..ba4959c0f 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -281,6 +281,8 @@ public: void Initialize(Order *chain, Vehicle *v); + void RecalculateTimetableDuration(); + /** * Get the first order of the order chain. * @return the first order of the chain. |