diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-11 23:26:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-11 23:26:03 +0300 |
commit | a79a1e6ac086355639fcbf995e1c6399199e4476 (patch) | |
tree | 51c6285f18fcafaa0908764cc3f3336dbacac447 /src/being.cpp | |
parent | eb3cee0bc68ee576ed0eb429d22c6031f27def07 (diff) | |
download | manaverse-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.gz manaverse-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.bz2 manaverse-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.xz manaverse-a79a1e6ac086355639fcbf995e1c6399199e4476.zip |
Add alt emotes id support.
Limit tmw emotes.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index e8338df6c..69dfb9046 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1430,8 +1430,8 @@ void Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY) if (emotionIndex >= 0 && emotionIndex <= EmoteDB::getLast()) { - if (EmoteDB::getAnimation(emotionIndex, true)) - EmoteDB::getAnimation(emotionIndex)->draw(graphics, px, py); + if (EmoteDB::getAnimation2(emotionIndex, true)) + EmoteDB::getAnimation2(emotionIndex)->draw(graphics, px, py); else mEmotion = 0; } |