summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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())
{