diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 20:52:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 20:52:00 +0300 |
commit | b639270b2854e2d069bbff9b888dfeb159f9b400 (patch) | |
tree | 07cafe4ccf666a63ded20a0d314004bea4b40f3e /src/resources/monsterdb.cpp | |
parent | 196cc38da19b867eaa9419343dd6ecd8212af354 (diff) | |
download | manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.gz manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.bz2 manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.tar.xz manaverse-b639270b2854e2d069bbff9b888dfeb159f9b400.zip |
Fix code style.
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 2 |
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")) { |