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, 4 insertions, 0 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index d5fc96849..b02c666d6 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -71,6 +71,8 @@ void StatusEffectDB::load()
if (mLoaded)
unload();
+ logger->log1("Initializing status effect database...");
+
loadXmlFile(paths.getStringValue("statusEffectsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("statusEffectsPatchFile"),
SkipError_true);
@@ -213,6 +215,8 @@ void StatusEffectDB::unload()
if (!mLoaded)
return;
+ logger->log1("Unloading status effect database...");
+
fakeId = 10000;
unloadMap(statusEffects[0]);
unloadMap(statusEffects[1]);