mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames
This commit is contained in:
parent
70f3413a36
commit
e075ade119
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user