summaryrefslogtreecommitdiff
path: root/src/resources/db/statuseffectdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/statuseffectdb.cpp')
-rw-r--r--src/resources/db/statuseffectdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index 9bc5e4e95..0eb7c27a6 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -52,7 +52,7 @@ StatusEffect *StatusEffectDB::getStatusEffect(const int index,
if (it != effects.end())
return (*it).second;
reportAlways("Missing status effect: %d",
- index);
+ index)
return nullptr;
}
@@ -66,7 +66,7 @@ void StatusEffectDB::load()
loadXmlFile(paths.getStringValue("statusEffectsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("statusEffectsPatchFile"),
SkipError_true);
- loadXmlDir("statusEffectsPatchDir", loadXmlFile);
+ loadXmlDir("statusEffectsPatchDir", loadXmlFile)
mLoaded = true;
}