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 | e075ade119bbab7f87eb0ca897e3a9ea0f55817b (patch) | |
tree | 6a698c29422ece9dccfceaf0e8628c5151789ea5 | |
parent | 70f3413a36386ed3223142323cb9c863167d7da7 (diff) | |
download | openttd-e075ade119bbab7f87eb0ca897e3a9ea0f55817b.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; |