summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-08 17:38:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-08 17:54:56 +0300
commit2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb (patch)
tree1b2568135d02822209be1b261ae03a5bb2eee048 /src/client.cpp
parent9e7eb26ada6a70d52e80a6392278e2ece0548f33 (diff)
downloadplus-2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb.tar.gz
plus-2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb.tar.bz2
plus-2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb.tar.xz
plus-2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb.zip
add moddb support.
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 7c7b1e016..483b70c87 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -98,6 +98,7 @@
#include "resources/db/sounddb.h"
#include "resources/db/itemdb.h"
#include "resources/db/mapdb.h"
+#include "resources/db/moddb.h"
#include "resources/db/monsterdb.h"
#include "resources/db/npcdb.h"
#ifdef MANASERV_SUPPORT
@@ -832,6 +833,7 @@ void Client::gameClear()
PaletteDB::unload();
PETDB::unload();
StatusEffect::unload();
+ ModDB::unload();
if (Net::getLoginHandler())
Net::getLoginHandler()->clearWorlds();
@@ -1454,6 +1456,7 @@ int Client::gameExec()
NPCDB::load();
PETDB::load();
EmoteDB::load();
+ ModDB::load();
StatusEffect::load();
Units::loadUnits();