diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-29 23:51:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-29 23:51:47 +0300 |
commit | 525a885c9cb55038edf5ab9215e25f908beb22af (patch) | |
tree | 87dc575e1e4d8f3c8b503512742244f27b15473f | |
parent | 1796dea741d75698a63beb4c105ffcd7a9415936 (diff) | |
download | manaverse-525a885c9cb55038edf5ab9215e25f908beb22af.tar.gz manaverse-525a885c9cb55038edf5ab9215e25f908beb22af.tar.bz2 manaverse-525a885c9cb55038edf5ab9215e25f908beb22af.tar.xz manaverse-525a885c9cb55038edf5ab9215e25f908beb22af.zip |
Draw being smile over badge and animation effect.
-rw-r--r-- | src/being/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 23e4da309..0e1fbbc2f 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1889,8 +1889,6 @@ void Being::drawEmotion(Graphics *const graphics, { const int px = getPixelX() - offsetX - mapTileSize / 2; const int py = getPixelY() - offsetY - mapTileSize * 2 - mapTileSize; - if (mEmotionSprite) - mEmotionSprite->draw(graphics, px, py); if (mAnimationEffect) mAnimationEffect->draw(graphics, px, py); if (mShowBadges && mBadgesCount) @@ -1934,6 +1932,8 @@ void Being::drawEmotion(Graphics *const graphics, // x += 16; } } + if (mEmotionSprite) + mEmotionSprite->draw(graphics, px, py); } void Being::drawSpeech(const int offsetX, const int offsetY) |