summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-10 18:19:25 -0700
committerIra Rice <irarice@gmail.com>2009-01-10 18:19:25 -0700
commit4018856d2d30532ad2404de4462ff3e473938a22 (patch)
tree75330ae36ef00304a23981d445d75cc0af78a04e /src/being.cpp
parente1b29d03d1fa9f1e6716fdd03f4baa62a02240dd (diff)
downloadmana-client-4018856d2d30532ad2404de4462ff3e473938a22.tar.gz
mana-client-4018856d2d30532ad2404de4462ff3e473938a22.tar.bz2
mana-client-4018856d2d30532ad2404de4462ff3e473938a22.tar.xz
mana-client-4018856d2d30532ad2404de4462ff3e473938a22.zip
Changed a few emote variable names to be more sensible, as well as
removing emotions.png from the client data files (should have never been there to begin with, IMO). TODO: Simplify the emote code so that there is a lot less redundant code, as well as make filling out the possible emotes more flexible. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index ba3107db..5eb62b2d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -44,6 +44,7 @@
#include "gui/speechbubble.h"
#include "utils/dtor.h"
+#include "utils/gettext.h"
#include "utils/tostring.h"
#include "utils/xml.h"
@@ -91,8 +92,8 @@ Being::Being(int id, int job, Map *map):
{
// Load the emotion set
ResourceManager *rm = ResourceManager::getInstance();
- emotionSet = rm->getImageSet("graphics/gui/emotions.png", 30, 32);
- if (!emotionSet) logger->error("Unable to load emotions!");
+ emotionSet = rm->getImageSet("graphics/sprites/emotions.png", 30, 32);
+ if (!emotionSet) logger->error(_("Unable to load emotions"));
// Hairstyles are encoded as negative numbers. Count how far negative we can go.
int hairstyles = 1;