diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-18 00:30:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-18 00:30:04 +0300 |
commit | f6eb325bae9ae993c59bd0b282aef8707c7409f7 (patch) | |
tree | 7ad9a4f22c5c5eeca42a22d8981e32bed583dcf1 /src | |
parent | 6fbcdfbbb6a8ad2ba73bde2a5043b523df8ff244 (diff) | |
download | ManaVerse-f6eb325bae9ae993c59bd0b282aef8707c7409f7.tar.gz ManaVerse-f6eb325bae9ae993c59bd0b282aef8707c7409f7.tar.bz2 ManaVerse-f6eb325bae9ae993c59bd0b282aef8707c7409f7.tar.xz ManaVerse-f6eb325bae9ae993c59bd0b282aef8707c7409f7.zip |
Fix possible incorrect draw tiles order in opengl mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 3 |
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()) { |