summaryrefslogtreecommitdiff
path: root/src/resources/db/petdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/petdb.cpp')
-rw-r--r--src/resources/db/petdb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index c01e80d42..f1570ed08 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -49,7 +49,7 @@ void PETDB::load()
logger->log1("Initializing PET database...");
loadXmlFile(paths.getStringValue("petsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("petsPatchFile"), SkipError_true);
- loadXmlDir("petsPatchDir", loadXmlFile);
+ loadXmlDir("petsPatchDir", loadXmlFile)
mLoaded = true;
}
@@ -88,7 +88,7 @@ void PETDB::loadXmlFile(const std::string &fileName,
if (id == BeingTypeId_negOne)
{
reportAlways("PET Database: PET with missing ID in %s!",
- paths.getStringValue("petsFile").c_str());
+ paths.getStringValue("petsFile").c_str())
continue;
}
@@ -160,7 +160,7 @@ BeingInfo *PETDB::get(const BeingTypeId id)
if (i == mPETInfos.end())
{
reportAlways("PETDB: Warning, unknown PET ID %d requested",
- toInt(id, int));
+ toInt(id, int))
return BeingInfo::unknown;
}
return i->second;