summaryrefslogtreecommitdiff
path: root/src/resources/db/monsterdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 18:54:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 18:54:32 +0300
commiteff128d7019ea0cd137a5fff6cc67825f90c4e1b (patch)
treed56835cd042f2794b4c5182cedd5eefb96099d5a /src/resources/db/monsterdb.cpp
parent6a79c4cc085f5cc7fea8a7b383744a40f3ccea6c (diff)
downloadmv-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.gz
mv-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.bz2
mv-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.xz
mv-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.zip
fix code style
Diffstat (limited to 'src/resources/db/monsterdb.cpp')
-rw-r--r--src/resources/db/monsterdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp
index d8075c962..de695f704 100644
--- a/src/resources/db/monsterdb.cpp
+++ b/src/resources/db/monsterdb.cpp
@@ -152,7 +152,7 @@ void MonsterDB::loadXmlFile(const std::string &fileName)
spriteNode, "event", "");
const int delay = XML::getProperty(
spriteNode, "delay", 0);
- const char *filename = reinterpret_cast<const char*>(
+ const char *const filename = reinterpret_cast<const char*>(
spriteNode->xmlChildrenNode->content);
if (event == "hit")