Changeset - r24168:20eab3331cf0
[Not reviewed]
master
0 1 0
SamuXarick - 4 years ago 2020-05-04 19:12:38
43006711+SamuXarick@users.noreply.github.com
Fix c01a2e2: crash on loading old savegames with invalid animated tile information
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/afterload.cpp
Show inline comments
 
@@ -2203,7 +2203,7 @@ bool AfterLoadGame()
 
			}
 

	
 
			if (remove) {
 
				DeleteAnimatedTile(*tile);
 
				tile = _animated_tiles.erase(tile);
 
			} else {
 
				tile++;
 
			}
0 comments (0 inline, 0 general)