summaryrefslogtreecommitdiff
path: root/src/resources/db/skillunitdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/resources/db/skillunitdb.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/skillunitdb.cpp')
-rw-r--r--src/resources/db/skillunitdb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index db7e3b2ed..130d40683 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -49,7 +49,7 @@ void SkillUnitDb::load()
logger->log1("Initializing skill unit database...");
loadXmlFile(paths.getStringValue("skillUnitsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("skillUnitsPatchFile"), SkipError_true);
- loadXmlDir("skillUnitsPatchDir", loadXmlFile);
+ loadXmlDir("skillUnitsPatchDir", loadXmlFile)
mLoaded = true;
}
@@ -87,7 +87,7 @@ void SkillUnitDb::loadXmlFile(const std::string &fileName,
if (id == BeingTypeId_negOne)
{
reportAlways("SkillUnitDb: skill unit with missing ID in %s!",
- paths.getStringValue("skillUnitsFile").c_str());
+ paths.getStringValue("skillUnitsFile").c_str())
continue;
}
@@ -154,7 +154,7 @@ BeingInfo *SkillUnitDb::get(const BeingTypeId id)
{
reportAlways("SkillUnitDb: Warning, unknown skill unit id "
"%d requested",
- toInt(id, int));
+ toInt(id, int))
return BeingInfo::unknown;
}
return i->second;