summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
commit793a119a7a36f9680dad108e75075c8c4bd4a0d0 (patch)
treef995b989135dda75bcd45d8214571b4b4ed4e871 /src/actorsprite.cpp
parentbad730dd0de24b2b17b91922c0c7f2b31b7b4d9b (diff)
downloadmv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.gz
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.bz2
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.xz
mv-793a119a7a36f9680dad108e75075c8c4bd4a0d0.zip
Replace all xmlNodePtr to XmlNodePtr.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index c7ee1fa77..fd2de295a 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -164,7 +164,7 @@ static EffectDescription *default_effect = nullptr;
static std::map<int, EffectDescription *> effects;
static bool effects_initialized = false;
-static EffectDescription *getEffectDescription(xmlNodePtr node, int *id)
+static EffectDescription *getEffectDescription(XmlNodePtr node, int *id)
{
EffectDescription *ed = new EffectDescription;
@@ -180,7 +180,7 @@ static EffectDescription *getEffectDescription(int effectId)
if (!effects_initialized)
{
XML::Document doc(EFFECTS_FILE);
- xmlNodePtr root = doc.rootNode();
+ XmlNodePtr root = doc.rootNode();
if (!root || !xmlStrEqual(root->name, BAD_CAST "being-effects"))
{