Fix AllocateMap call for TTO savegames

This commit is contained in:
Jonathan G Rennison
2024-01-15 21:34:39 +00:00
parent a6b467cf45
commit 82d32fe40c

View File

@@ -1476,7 +1476,7 @@ static bool LoadOldGameDifficulty(LoadgameState *ls, int)
static bool LoadOldMapPart1(LoadgameState *ls, int) static bool LoadOldMapPart1(LoadgameState *ls, int)
{ {
if (_savegame_type == SGT_TTO) { if (_savegame_type == SGT_TTO) {
AllocateMap(OLD_MAP_SIZE, OLD_MAP_SIZE); AllocateMap(256, 256);
} }
for (uint i = 0; i < OLD_MAP_SIZE; i++) { for (uint i = 0; i < OLD_MAP_SIZE; i++) {