diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-22 12:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-22 12:47:16 +0300 |
commit | ce1d5543c64be5c101908c20768ecb448737f2d0 (patch) | |
tree | 6b8625483ad66e68b39a264fd92c5cce7b4aaf95 /src | |
parent | 459c2c3a6decbd5576760040f566f1544645c3ac (diff) | |
download | mv-ce1d5543c64be5c101908c20768ecb448737f2d0.tar.gz mv-ce1d5543c64be5c101908c20768ecb448737f2d0.tar.bz2 mv-ce1d5543c64be5c101908c20768ecb448737f2d0.tar.xz mv-ce1d5543c64be5c101908c20768ecb448737f2d0.zip |
Possible fix for random incorrect beings draw order.
Diffstat (limited to 'src')
-rw-r--r-- | src/maplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 8980b4f47..84acb91fd 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -380,7 +380,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY, // If drawing the fringe layer, make sure all actors above this row of // tiles have been drawn - while (ai != ai_end && (*ai)->getPixelY() <= y32s) + while (ai != ai_end && (*ai)->getSortPixelY() <= y32s) { (*ai)->draw(graphics, -scrollX, -scrollY); ++ ai; |