summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-11 17:36:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-11 17:36:03 +0300
commitc4d16b36a373ba5609360e2698372926d7f2dc0f (patch)
tree62633ac84dafbe0a70574f1766105c0a42f10d79 /src/client.cpp
parentd2502060c7f7b31385d2e3d836dbd7e91562a381 (diff)
downloadplus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.gz
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.bz2
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.tar.xz
plus-c4d16b36a373ba5609360e2698372926d7f2dc0f.zip
Allow load avatars from avatars.xml
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 f01d5b12c..f02759c01 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -77,6 +77,7 @@
#include "net/npchandler.h"
#include "net/partyhandler.h"
+#include "resources/avatardb.h"
#include "resources/chardb.h"
#include "resources/colordb.h"
#include "resources/emotedb.h"
@@ -759,6 +760,7 @@ void Client::gameClear()
ItemDB::unload();
MonsterDB::unload();
NPCDB::unload();
+ AvatarDB::unload();
PaletteDB::unload();
PETDB::unload();
StatusEffect::unload();
@@ -1408,6 +1410,7 @@ int Client::gameExec()
#ifdef MANASERV_SUPPORT
SpecialDB::load();
#endif
+ AvatarDB::load();
NPCDB::load();
PETDB::load();
EmoteDB::load();