summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-05-01 02:08:35 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-05-01 02:08:35 +0200
commitf2424b19159dfbab1c01bf29c615a7bf029b0762 (patch)
tree8eeef223832719b7d6e8e25119697d6d6cc81e74 /src/actorsprite.cpp
parent92fd074aa85e2357bfe1ab642209dd5a0d87e4d5 (diff)
downloadmana-f2424b19159dfbab1c01bf29c615a7bf029b0762.tar.gz
mana-f2424b19159dfbab1c01bf29c615a7bf029b0762.tar.bz2
mana-f2424b19159dfbab1c01bf29c615a7bf029b0762.tar.xz
mana-f2424b19159dfbab1c01bf29c615a7bf029b0762.zip
Look for <effects> tags in the effects.xml file.
This, instead, of <being-effects>, which is irrelevant, as effects aren't only used for beings.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index 988a25e5..b4b56451 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -163,7 +163,7 @@ static EffectDescription *getEffectDescription(int effectId)
XML::Document doc(EFFECTS_FILE);
xmlNodePtr root = doc.rootNode();
- if (!root || !xmlStrEqual(root->name, BAD_CAST "being-effects"))
+ if (!root || !xmlStrEqual(root->name, BAD_CAST "effects"))
{
logger->log("Error loading being effects file: "
EFFECTS_FILE);