equal
deleted
inserted
replaced
14 * </ol> |
14 * </ol> |
15 */ |
15 */ |
16 #include "stdafx.h" |
16 #include "stdafx.h" |
17 #include "openttd.h" |
17 #include "openttd.h" |
18 #include "debug.h" |
18 #include "debug.h" |
19 #include "station.h" |
19 #include "station_base.h" |
20 #include "thread.h" |
20 #include "thread.h" |
21 #include "town.h" |
21 #include "town.h" |
22 #include "saveload.h" |
22 #include "saveload.h" |
23 #include "network/network.h" |
23 #include "network/network.h" |
24 #include "variables.h" |
24 #include "variables.h" |
1598 /* Load a TTDLX or TTDPatch game */ |
1598 /* Load a TTDLX or TTDPatch game */ |
1599 if (mode == SL_OLD_LOAD) { |
1599 if (mode == SL_OLD_LOAD) { |
1600 InitializeGame(IG_DATE_RESET, 256, 256); // set a mapsize of 256x256 for TTDPatch games or it might get confused |
1600 InitializeGame(IG_DATE_RESET, 256, 256); // set a mapsize of 256x256 for TTDPatch games or it might get confused |
1601 if (!LoadOldSaveGame(filename)) return SL_REINIT; |
1601 if (!LoadOldSaveGame(filename)) return SL_REINIT; |
1602 _sl_version = 0; |
1602 _sl_version = 0; |
1603 AfterLoadGame(); |
1603 if (!AfterLoadGame()) return SL_REINIT; |
1604 return SL_OK; |
1604 return SL_OK; |
1605 } |
1605 } |
1606 |
1606 |
1607 _sl.excpt_uninit = NULL; |
1607 _sl.excpt_uninit = NULL; |
1608 try { |
1608 try { |