diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-13 19:27:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-13 19:27:47 +0300 |
commit | 331d1d0989acccf5247d34561d0c962f7a64adc2 (patch) | |
tree | 7b60f9e6242763b0fd810ac3270f32fe7866ad2c /src/client.cpp | |
parent | dca3de26978bf0a9d7ac9df8524c90b85f8920da (diff) | |
download | plus-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.gz plus-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.bz2 plus-331d1d0989acccf5247d34561d0c962f7a64adc2.tar.xz plus-331d1d0989acccf5247d34561d0c962f7a64adc2.zip |
Add basic support for networkdb.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
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(); |