Merge branch 'master' into jgrpp
# Conflicts: # src/group_cmd.cpp # src/lang/korean.txt # src/lang/simplified_chinese.txt # src/script/api/script_rail.cpp # src/tunnelbridge_cmd.cpp
This commit is contained in:
@@ -48,9 +48,7 @@ void FixOldMapArray()
|
||||
{
|
||||
/* TTO/TTD/TTDP savegames could have buoys at tile 0
|
||||
* (without assigned station struct) */
|
||||
MemSetT(&_m[0], 0);
|
||||
SetTileType(0, MP_WATER);
|
||||
SetTileOwner(0, OWNER_WATER);
|
||||
MakeSea(0);
|
||||
}
|
||||
|
||||
static void FixTTDMapArray()
|
||||
@@ -1468,8 +1466,7 @@ static bool LoadOldGameDifficulty(LoadgameState *ls, int num)
|
||||
static bool LoadOldMapPart1(LoadgameState *ls, int num)
|
||||
{
|
||||
if (_savegame_type == SGT_TTO) {
|
||||
MemSetT(_m, 0, OLD_MAP_SIZE);
|
||||
MemSetT(_me, 0, OLD_MAP_SIZE);
|
||||
AllocateMap(OLD_MAP_SIZE, OLD_MAP_SIZE);
|
||||
}
|
||||
|
||||
for (uint i = 0; i < OLD_MAP_SIZE; i++) {
|
||||
|
Reference in New Issue
Block a user