Fix c01a2e2
: crash on loading old savegames with invalid animated tile information
This commit is contained in:
@@ -2203,7 +2203,7 @@ bool AfterLoadGame()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (remove) {
|
if (remove) {
|
||||||
DeleteAnimatedTile(*tile);
|
tile = _animated_tiles.erase(tile);
|
||||||
} else {
|
} else {
|
||||||
tile++;
|
tile++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user