mirror of https://github.com/OpenTTD/OpenTTD
(svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames
parent
70f3413a36
commit
e075ade119
|
@ -1692,6 +1692,12 @@ bool LoadOldSaveGame(const char *file)
|
||||||
|
|
||||||
fclose(ls.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;
|
_pause_game = 2;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue