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/questdb.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/questdb.cpp')
-rw-r--r-- | src/resources/db/questdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/questdb.cpp b/src/resources/db/questdb.cpp index 44c59226c..d932b656e 100644 --- a/src/resources/db/questdb.cpp +++ b/src/resources/db/questdb.cpp @@ -46,6 +46,7 @@ namespace void QuestDb::load() { unload(); + logger->log1("Initializing quest database..."); loadXmlFile(paths.getStringValue("questsFile"), SkipError_false); loadXmlFile(paths.getStringValue("questsPatchFile"), SkipError_true); loadXmlDir("questsPatchDir", loadXmlFile); @@ -213,6 +214,7 @@ void QuestDb::loadXmlFile(const std::string &fileName, void QuestDb::unload() { + logger->log1("Unloading quest database..."); for (std::map<int, STD_VECTOR<QuestItem*> >::iterator it = mQuests.begin(), it_end = mQuests.end(); it != it_end; ++ it) { |