summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 3c800018a..f9750f217 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -350,6 +350,9 @@ void MapLayer::updateOGL(Graphics *graphics, int startX, int startY,
{
if (lastImage != img)
{
+ if (img->mBounds.w > 32)
+ imgSet.clear();
+
imgSet[lastImage] = imgVert;
if (imgSet.find(img) != imgSet.end())
{