diff options
author | David Athay <ko2fan@gmail.com> | 2008-08-29 09:32:39 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-08-29 09:32:39 +0000 |
commit | 970b31227bde94f92af392870fc91844f063f167 (patch) | |
tree | b5568efe8ac1a7516bad164c2d02dea41eb9a3a4 /src/resources/monsterdb.cpp | |
parent | 250fd9d43087d6798e3c2dbb2efa566fefcbebeb (diff) | |
download | mana-970b31227bde94f92af392870fc91844f063f167.tar.gz mana-970b31227bde94f92af392870fc91844f063f167.tar.bz2 mana-970b31227bde94f92af392870fc91844f063f167.tar.xz mana-970b31227bde94f92af392870fc91844f063f167.zip |
#406 by jaxad0127v0.0.26
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 0a98762f..bf2878bc 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -45,7 +45,7 @@ MonsterDB::load() if (mLoaded) return; - mUnknown.setSprite("error.xml"); + mUnknown.addSprite("error.xml"); mUnknown.setName("unnamed"); logger->log("Initializing monster database..."); @@ -96,7 +96,7 @@ MonsterDB::load() { if (xmlStrEqual(spriteNode->name, BAD_CAST "sprite")) { - currentInfo->setSprite((const char*) spriteNode->xmlChildrenNode->content); + currentInfo->addSprite((const char*) spriteNode->xmlChildrenNode->content); } if (xmlStrEqual(spriteNode->name, BAD_CAST "sound")) |