summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-11 23:26:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-11 23:26:03 +0300
commita79a1e6ac086355639fcbf995e1c6399199e4476 (patch)
tree51c6285f18fcafaa0908764cc3f3336dbacac447 /src/being.cpp
parenteb3cee0bc68ee576ed0eb429d22c6031f27def07 (diff)
downloadmanaverse-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.cpp4
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;
}