summaryrefslogtreecommitdiff
path: root/src/resources/db/monsterdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/monsterdb.cpp')
-rw-r--r--src/resources/db/monsterdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp
index 68bc40703..3141c1cf5 100644
--- a/src/resources/db/monsterdb.cpp
+++ b/src/resources/db/monsterdb.cpp
@@ -51,7 +51,7 @@ void MonsterDB::load()
logger->log1("Initializing monster database...");
loadXmlFile(paths.getStringValue("monstersFile"), SkipError_false);
loadXmlFile(paths.getStringValue("monstersPatchFile"), SkipError_true);
- loadXmlDir("monstersPatchDir", loadXmlFile);
+ loadXmlDir("monstersPatchDir", loadXmlFile)
mLoaded = true;
}
@@ -152,7 +152,7 @@ BeingInfo *MonsterDB::get(const BeingTypeId id)
if (i == mMonsterInfos.end())
{
reportAlways("MonsterDB: Warning, unknown monster ID %d requested",
- toInt(id, int));
+ toInt(id, int))
return BeingInfo::unknown;
}
}