From 525a885c9cb55038edf5ab9215e25f908beb22af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jul 2015 23:51:47 +0300 Subject: Draw being smile over badge and animation effect. --- src/being/being.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-60-g2f50