diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-03 22:43:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-04 00:57:58 +0300 |
commit | de73e67e830c15e6b623ba03eda88f9faacac40c (patch) | |
tree | 79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/resources/db/chardb.cpp | |
parent | 653f89fa3b236103670796af4b76a23e8ae84248 (diff) | |
download | mv-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz mv-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2 mv-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz mv-de73e67e830c15e6b623ba03eda88f9faacac40c.zip |
Add missing load / unload databases logging.
Diffstat (limited to 'src/resources/db/chardb.cpp')
-rw-r--r-- | src/resources/db/chardb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/chardb.cpp b/src/resources/db/chardb.cpp index 915c3444b..2dd60270b 100644 --- a/src/resources/db/chardb.cpp +++ b/src/resources/db/chardb.cpp @@ -48,6 +48,8 @@ void CharDB::load() if (mLoaded) unload(); + logger->log1("Initializing char database..."); + XML::Document *doc = new XML::Document( paths.getStringValue("charCreationFile"), UseVirtFs_true, @@ -121,7 +123,7 @@ void CharDB::loadMinMax(XmlNodeConstPtr node, void CharDB::unload() { - logger->log1("Unloading chars database..."); + logger->log1("Unloading char database..."); mLoaded = false; } |