summaryrefslogtreecommitdiff
path: root/src/resources/db/mercenarydb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/mercenarydb.cpp')
-rw-r--r--src/resources/db/mercenarydb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/mercenarydb.cpp b/src/resources/db/mercenarydb.cpp
index 72e6b3837..97ce1d014 100644
--- a/src/resources/db/mercenarydb.cpp
+++ b/src/resources/db/mercenarydb.cpp
@@ -47,7 +47,7 @@ void MercenaryDB::load()
logger->log1("Initializing mercenary database...");
loadXmlFile(paths.getStringValue("mercenariesFile"), SkipError_false);
loadXmlFile(paths.getStringValue("mercenariesPatchFile"), SkipError_true);
- loadXmlDir("mercenariesPatchDir", loadXmlFile);
+ loadXmlDir("mercenariesPatchDir", loadXmlFile)
mLoaded = true;
}
@@ -149,7 +149,7 @@ BeingInfo *MercenaryDB::get(const BeingTypeId id)
{
reportAlways("MercenaryDB: Warning, unknown mercenary ID "
"%d requested",
- toInt(id, int));
+ toInt(id, int))
return BeingInfo::unknown;
}
}