summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-13 23:33:45 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-13 23:33:45 +0300
commitaad864d74e74e89e9d8ec11774d115046a3668cb (patch)
tree36636714c652a8891f8618763017438855c7dbb1 /src/map.cpp
parent1da8072253138fe2b6f4139cf3b2488edaff74c4 (diff)
downloadmanaplus-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.gz
manaplus-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.bz2
manaplus-aad864d74e74e89e9d8ec11774d115046a3668cb.tar.xz
manaplus-aad864d74e74e89e9d8ec11774d115046a3668cb.zip
Fix dead mobs and floor items Y sorting position.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
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;