summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 20:52:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 20:52:00 +0300
commitb639270b2854e2d069bbff9b888dfeb159f9b400 (patch)
tree07cafe4ccf666a63ded20a0d314004bea4b40f3e /src/resources
parent196cc38da19b867eaa9419343dd6ecd8212af354 (diff)
downloadplus-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.gz
plus-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.bz2
plus-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.xz
plus-b639270b2854e2d069bbff9b888dfeb159f9b400.zip
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/monsterdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index 22441c34e..ae0d6c3ba 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -51,7 +51,7 @@ void MonsterDB::load()
logger->log1("Initializing monster database...");
XML::Document doc("monsters.xml");
- XmlNodePtr rootNode = doc.rootNode();
+ const XmlNodePtr rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "monsters"))
{