diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:57:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 8a0bdb649b807a7881c06f406d65c2a1654adc00 (patch) | |
tree | d1202ecdc2d9deed2b7161efff8e70d50da83b9c /src/resources | |
parent | b74a08cd7a7818b355bcc99df519d354a7ae903a (diff) | |
download | plus-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.gz plus-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.bz2 plus-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.xz plus-8a0bdb649b807a7881c06f406d65c2a1654adc00.zip |
fix initialisation in monsterdb.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/monsterdb.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp index 502c9cc2c..d8075c962 100644 --- a/src/resources/db/monsterdb.cpp +++ b/src/resources/db/monsterdb.cpp @@ -152,8 +152,7 @@ void MonsterDB::loadXmlFile(const std::string &fileName) spriteNode, "event", ""); const int delay = XML::getProperty( spriteNode, "delay", 0); - const char *filename; - filename = reinterpret_cast<const char*>( + const char *filename = reinterpret_cast<const char*>( spriteNode->xmlChildrenNode->content); if (event == "hit") |