summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-13 19:27:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-13 19:27:47 +0300
commit331d1d0989acccf5247d34561d0c962f7a64adc2 (patch)
tree7b60f9e6242763b0fd810ac3270f32fe7866ad2c /src/client.cpp
parentdca3de26978bf0a9d7ac9df8524c90b85f8920da (diff)
downloadmv-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.gz
mv-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.bz2
mv-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.xz
mv-331d1d0989acccf5247d34561d0c962f7a64adc2.zip
Add basic support for networkdb.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4b6b3118f..9ac6c0df5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -118,6 +118,7 @@
#include "resources/db/mercenarydb.h"
#include "resources/db/moddb.h"
#include "resources/db/monsterdb.h"
+#include "resources/db/networkdb.h"
#include "resources/db/npcdb.h"
#include "resources/db/npcdialogdb.h"
#include "resources/db/palettedb.h"
@@ -626,6 +627,7 @@ void Client::gameClear()
PETDB::unload();
StatusEffectDB::unload();
ModDB::unload();
+ NetworkDb::unload();
if (loginHandler)
loginHandler->clearWorlds();
@@ -1325,6 +1327,7 @@ int Client::gameExec()
AttributesEnum::init();
// Load XML databases
+ NetworkDb::load();
CharDB::load();
StatDb::load();
DeadDB::load();