diff options
author | smatz <smatz@openttd.org> | 2008-04-09 21:33:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-09 21:33:36 +0000 |
commit | 183145c0dccf20f0a3f2784dfed33547e5bed67a (patch) | |
tree | 6a698c29422ece9dccfceaf0e8628c5151789ea5 | |
parent | 2db9a59d8eec88b3c51bc09729764c2de4fce259 (diff) | |
download | openttd-183145c0dccf20f0a3f2784dfed33547e5bed67a.tar.xz |
(svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames
-rw-r--r-- | src/oldloader.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index be09da92f..8d7832da9 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -1692,6 +1692,12 @@ bool LoadOldSaveGame(const char *file) fclose(ls.file); + /* Some old TTDP savegames could have buoys at tile 0 + * (without assigned station struct) + * MakeWater() can be used as long as sea has the same + * format as old savegames (eg. everything is zeroed) */ + MakeWater(0); + _pause_game = 2; return true; |