mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Fix c01a2e2
: crash on loading old savegames with invalid animated tile information
This commit is contained in:
parent
c01803cd42
commit
8edbb42fe8
@ -2203,7 +2203,7 @@ bool AfterLoadGame()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (remove) {
|
if (remove) {
|
||||||
DeleteAnimatedTile(*tile);
|
tile = _animated_tiles.erase(tile);
|
||||||
} else {
|
} else {
|
||||||
tile++;
|
tile++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user