From 67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Apr 2013 23:11:05 +0300 Subject: fix code style and some other fixes after auto checks. --- src/being.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index d5012ac06..e8f6566f0 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2794,6 +2794,8 @@ void Being::setEmote(const uint8_t emotion, const int emote_time) mEmotionSprite = AnimatedSprite::clone(sprite->sprite); if (mEmotionSprite) mEmotionTime = info->time; + else + mEmotionTime = emote_time; } } } -- cgit v1.2.3-60-g2f50