summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 432e35dd2..32dd7c747 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2203,7 +2203,7 @@ bool AfterLoadGame()
}
if (remove) {
- DeleteAnimatedTile(*tile);
+ tile = _animated_tiles.erase(tile);
} else {
tile++;
}