diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-13 23:33:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-13 23:33:45 +0300 |
commit | aad864d74e74e89e9d8ec11774d115046a3668cb (patch) | |
tree | 36636714c652a8891f8618763017438855c7dbb1 /src/map.cpp | |
parent | 1da8072253138fe2b6f4139cf3b2488edaff74c4 (diff) | |
download | mv-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.gz mv-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.bz2 mv-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.xz mv-aad864d74e74e89e9d8ec11774d115046a3668cb.zip |
Fix dead mobs and floor items Y sorting position.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index bcf2b22fe..e706f120b 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -85,7 +85,7 @@ class ActorFunctuator { if (!a || !b) return false; - return a->getPixelY() < b->getPixelY(); + return a->getSortPixelY() < b->getSortPixelY(); } } actorCompare; |