diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 2d8bc042c..664eecd1d 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1380,8 +1380,10 @@ void Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY) if (emotionIndex >= 0 && emotionIndex <= EmoteDB::getLast()) { - if (EmoteDB::getAnimation(emotionIndex)) + if (EmoteDB::getAnimation(emotionIndex, true)) EmoteDB::getAnimation(emotionIndex)->draw(graphics, px, py); + else + mEmotion = 0; } } |