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/being.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/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 036f823e6..73675318d 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1017,6 +1017,8 @@ void Being::setAction(Action action, int attackType A_UNUSED) currentAction = SpriteAction::DEAD; if (mInfo) sound.playSfx(mInfo->getSound(SOUND_EVENT_DIE), mX, mY); + if (mType == MONSTER) + mYDiff = 31; break; case STAND: currentAction = SpriteAction::STAND; |