summaryrefslogtreecommitdiff
path: root/src/gui/emotecontainer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-12 06:44:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-12 06:44:16 -0600
commite2d60401eaf55abe9e2251854f3174ffe0f4ad9e (patch)
tree99be0ae61a6b4c97cafeb6458491f38cb7904d8a /src/gui/emotecontainer.cpp
parent2eb027b0f7a67706df68fe29e605c5be7fc1d5c9 (diff)
downloadmana-e2d60401eaf55abe9e2251854f3174ffe0f4ad9e.tar.gz
mana-e2d60401eaf55abe9e2251854f3174ffe0f4ad9e.tar.bz2
mana-e2d60401eaf55abe9e2251854f3174ffe0f4ad9e.tar.xz
mana-e2d60401eaf55abe9e2251854f3174ffe0f4ad9e.zip
Move emote sprite loading into EmoteDB
Diffstat (limited to 'src/gui/emotecontainer.cpp')
-rw-r--r--src/gui/emotecontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/emotecontainer.cpp b/src/gui/emotecontainer.cpp
index ad3f5c83..ececd9aa 100644
--- a/src/gui/emotecontainer.cpp
+++ b/src/gui/emotecontainer.cpp
@@ -53,7 +53,7 @@ EmoteContainer::EmoteContainer():
// Setup emote sprites
for (int i = 0; i <= EmoteDB::getLast(); i++)
{
- mEmoteImg.push_back(player_node->getEmote(i));
+ mEmoteImg.push_back(EmoteDB::getAnimation(i));
}
mSelImg = resman->getImage("graphics/gui/selection.png");