Fix c01a2e2: crash on loading old savegames with invalid animated tile information

This commit is contained in:
SamuXarick 2020-05-04 20:12:38 +01:00 committed by Charles Pigott
parent 2faa89a98e
commit 37187df7ef

View File

@ -2203,7 +2203,7 @@ bool AfterLoadGame()
}
if (remove) {
DeleteAnimatedTile(*tile);
tile = _animated_tiles.erase(tile);
} else {
tile++;
}