summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")