From d1cead7f251e09e572c73130bad601f7d991ecc6 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Fri, 3 Jan 2020 14:11:33 +0000 Subject: Fix: When loading old timetabled saves, also reset cached timetable duration --- src/order_base.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/order_base.h') 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. -- cgit v1.2.3-54-g00ecf