summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-07-29 22:23:17 +0000
committerfrosch <frosch@openttd.org>2011-07-29 22:23:17 +0000
commitc9e920f1ebbeffb44ea44a240ad93ea246b14d7f (patch)
tree2d22f1ebdf356ee4284667d22d1416527cd7084b /src/saveload/saveload.cpp
parent793ec45a7370a9e066968b24489f1d20ee5dd330 (diff)
downloadopenttd-c9e920f1ebbeffb44ea44a240ad93ea246b14d7f.tar.xz
(svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario.
Diffstat (limited to 'src/saveload/saveload.cpp')
-rw-r--r--src/saveload/saveload.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 4dac04384..486d1d8e5 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -2557,8 +2557,6 @@ static SaveOrLoadResult DoLoad(LoadFilter *reader, bool load_check)
_next_offs = 0;
if (!load_check) {
- _engine_mngr.ResetToDefaultMapping();
-
/* Old maps were hardcoded to 256x256 and thus did not contain
* any mapsize information. Pre-initialize to 256x256 to not to
* confuse old games */
@@ -2662,7 +2660,6 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo
/* Load a TTDLX or TTDPatch game */
if (mode == SL_OLD_LOAD) {
- _engine_mngr.ResetToDefaultMapping();
InitializeGame(256, 256, true, true); // set a mapsize of 256x256 for TTDPatch games or it might get confused
/* TTD/TTO savegames have no NewGRFs, TTDP savegame have them