summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:57:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit8a0bdb649b807a7881c06f406d65c2a1654adc00 (patch)
treed1202ecdc2d9deed2b7161efff8e70d50da83b9c /src/resources
parentb74a08cd7a7818b355bcc99df519d354a7ae903a (diff)
downloadmv-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.gz
mv-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.bz2
mv-8a0bdb649b807a7881c06f406d65c2a1654adc00.tar.xz
mv-8a0bdb649b807a7881c06f406d65c2a1654adc00.zip
fix initialisation in monsterdb.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/monsterdb.cpp3
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")