summaryrefslogtreecommitdiff
path: root/src/resources/db/weaponsdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/weaponsdb.cpp')
-rw-r--r--src/resources/db/weaponsdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/weaponsdb.cpp b/src/resources/db/weaponsdb.cpp
index e75b15f02..f23a0dfc3 100644
--- a/src/resources/db/weaponsdb.cpp
+++ b/src/resources/db/weaponsdb.cpp
@@ -21,6 +21,7 @@
#include "resources/db/weaponsdb.h"
#include "configuration.h"
+#include "logger.h"
#include "utils/xmlutils.h"
@@ -51,6 +52,8 @@ void WeaponsDB::load()
if (mLoaded)
unload();
+ logger->log1("Initializing weapon database...");
+
loadDB("swords", mSwords);
loadDB("bows", mBows);
loadDB("shields", mShields);
@@ -58,6 +61,8 @@ void WeaponsDB::load()
void WeaponsDB::unload()
{
+ logger->log1("Unloading weapon database...");
+
mBows.clear();
mSwords.clear();
mShields.clear();