diff options
author | David Athay <ko2fan@gmail.com> | 2008-08-29 09:32:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-13 20:45:29 +0100 |
commit | e7662dbaaa6178b9bbe6b5933538b0127810409f (patch) | |
tree | f45a622a8f029dcce2220d87369e752cd517710d /src/resources/monsterdb.cpp | |
parent | c2d2d078724fb579552717aa45f67e835cf47c7a (diff) | |
download | mana-e7662dbaaa6178b9bbe6b5933538b0127810409f.tar.gz mana-e7662dbaaa6178b9bbe6b5933538b0127810409f.tar.bz2 mana-e7662dbaaa6178b9bbe6b5933538b0127810409f.tar.xz mana-e7662dbaaa6178b9bbe6b5933538b0127810409f.zip |
Mantis #406 by jaxad0127
(cherry picked from eAthena client)
Conflicts:
src/monster.cpp
src/resources/monsterinfo.h
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 1d198a96..e0c47db8 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -44,7 +44,7 @@ MonsterDB::load() if (mLoaded) return; - mUnknown.setSprite("error.xml"); + mUnknown.addSprite("error.xml"); mUnknown.setName("unnamed"); logger->log("Initializing monster database..."); @@ -94,7 +94,7 @@ MonsterDB::load() { if (xmlStrEqual(spriteNode->name, BAD_CAST "sprite")) { - currentInfo->setSprite((const char*) spriteNode->xmlChildrenNode->content); + currentInfo->addSprite((const char*) spriteNode->xmlChildrenNode->content); } else if (xmlStrEqual(spriteNode->name, BAD_CAST "sound")) { |