From e61dcab79d9dc3eba0b24094ee108606c970eac2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 10 Apr 2008 08:30:15 +0000 Subject: (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. -Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting. --- src/openttd.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index ec69aafb8..52fed7da1 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2445,6 +2445,15 @@ bool AfterLoadGame() } } + if (CheckSavegameVersion(93)) { + /* Rework of orders. */ + Order *order; + FOR_ALL_ORDERS(order) order->ConvertFromOldSavegame(); + + Vehicle *v; + FOR_ALL_VEHICLES(v) v->current_order.ConvertFromOldSavegame(); + } + return InitializeWindowsAndCaches(); } -- cgit v1.2.3-54-g00ecf