mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 17:56:27 +01:00
Fix c01a2e2
: crash on loading old savegames with invalid animated tile information
This commit is contained in:
parent
2faa89a98e
commit
37187df7ef
@ -2203,7 +2203,7 @@ bool AfterLoadGame()
|
||||
}
|
||||
|
||||
if (remove) {
|
||||
DeleteAnimatedTile(*tile);
|
||||
tile = _animated_tiles.erase(tile);
|
||||
} else {
|
||||
tile++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user