diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-27 12:48:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-27 12:48:21 +0300 |
commit | b481cd74dfd1629ca7b045cde57562e752c49638 (patch) | |
tree | f96df5fd34ed5dba3a615d15fff69fb01903d9c0 /src/client.cpp | |
parent | f91a3ef02da845393dc7df7cf6337d064a1feaa7 (diff) | |
download | plus-b481cd74dfd1629ca7b045cde57562e752c49638.tar.gz plus-b481cd74dfd1629ca7b045cde57562e752c49638.tar.bz2 plus-b481cd74dfd1629ca7b045cde57562e752c49638.tar.xz plus-b481cd74dfd1629ca7b045cde57562e752c49638.zip |
Dehardcode swords, shields and bows for auto switching weapons.
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 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(); |