From c81b3c269e39700be94fd9e2629b0bdfb0d093f8 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Wed, 3 Nov 2010 23:50:35 -0400 Subject: Convert the emote system to use particles Reviewed-by: Jared Adams --- src/gui/emotepopup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/emotepopup.cpp') diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp index f9dc8e0f..bd40a932 100644 --- a/src/gui/emotepopup.cpp +++ b/src/gui/emotepopup.cpp @@ -22,7 +22,7 @@ #include "gui/emotepopup.h" -#include "animatedsprite.h" +#include "imagesprite.h" #include "configuration.h" #include "emoteshortcut.h" #include "graphics.h" @@ -53,7 +53,7 @@ EmotePopup::EmotePopup(): // Setup emote sprites for (int i = 0; i <= EmoteDB::getLast(); ++i) { - mEmotes.push_back(EmoteDB::getAnimation(i)); + mEmotes.push_back(EmoteDB::get(i)->sprite); } mSelectionImage = Theme::getImageFromTheme("selection.png"); -- cgit v1.2.3-60-g2f50