summaryrefslogtreecommitdiff
path: root/src/gui/emotecontainer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-12 06:44:16 -0600
committerIra Rice <irarice@gmail.com>2009-03-12 08:38:07 -0600
commit37b812f2892a9b11a88abcbcde0b47aca76f4a71 (patch)
tree6872d9c5420845c50c1ea411c0f999aeb8ffc434 /src/gui/emotecontainer.cpp
parent5b1e2aae6391edc99425ed7671d59eddd774212e (diff)
downloadmana-client-37b812f2892a9b11a88abcbcde0b47aca76f4a71.tar.gz
mana-client-37b812f2892a9b11a88abcbcde0b47aca76f4a71.tar.bz2
mana-client-37b812f2892a9b11a88abcbcde0b47aca76f4a71.tar.xz
mana-client-37b812f2892a9b11a88abcbcde0b47aca76f4a71.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 9764ab9c..22b4cf50 100644
--- a/src/gui/emotecontainer.cpp
+++ b/src/gui/emotecontainer.cpp
@@ -54,7 +54,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");