summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 12:48:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 12:48:21 +0300
commitb481cd74dfd1629ca7b045cde57562e752c49638 (patch)
treef96df5fd34ed5dba3a615d15fff69fb01903d9c0 /src/client.cpp
parentf91a3ef02da845393dc7df7cf6337d064a1feaa7 (diff)
downloadmv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.gz
mv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.bz2
mv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.xz
mv-b481cd74dfd1629ca7b045cde57562e752c49638.zip
Dehardcode swords, shields and bows for auto switching weapons.
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 1238e9b8d..990306fc1 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -108,6 +108,7 @@
#endif
#include "resources/db/palettedb.h"
#include "resources/db/petdb.h"
+#include "resources/db/weaponsdb.h"
#include "utils/base64.h"
#include "utils/cpu.h"
@@ -838,6 +839,7 @@ void Client::gameClear()
MonsterDB::unload();
NPCDB::unload();
AvatarDB::unload();
+ WeaponsDB::unload();
PaletteDB::unload();
PETDB::unload();
StatusEffect::unload();
@@ -1468,6 +1470,7 @@ int Client::gameExec()
SpecialDB::load();
#endif
AvatarDB::load();
+ WeaponsDB::load();
NPCDB::load();
PETDB::load();
EmoteDB::load();