diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 01:40:43 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 01:40:43 +0200 |
commit | 3b7740f133e195b0a0b11090ea8c2b8a7b64411c (patch) | |
tree | 5e1494b942fe4050d147325951c1401dc7e29c31 /src/net/tmwa | |
parent | 9ca2198b767e1bf810aa5b75657f0d18ce06a57b (diff) | |
download | mana-3b7740f133e195b0a0b11090ea8c2b8a7b64411c.tar.gz mana-3b7740f133e195b0a0b11090ea8c2b8a7b64411c.tar.bz2 mana-3b7740f133e195b0a0b11090ea8c2b8a7b64411c.tar.xz mana-3b7740f133e195b0a0b11090ea8c2b8a7b64411c.zip |
Got rid of the superfluous definition of the slot number for tA.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h index 218723e6..bbb734e7 100644 --- a/src/net/tmwa/inventoryhandler.h +++ b/src/net/tmwa/inventoryhandler.h @@ -34,6 +34,8 @@ #include "net/tmwa/messagehandler.h" +#include "resources/iteminfo.h" + #include <list> namespace TmwAthena { @@ -54,7 +56,7 @@ class EquipBackend : public Equipment::Backend void clear() { - for (int i = 0; i < EQUIPMENT_SIZE; i++) + for (int i = 0; i < EQUIP_VECTOR_END; i++) { if (mEquipment[i] != -1) { @@ -83,7 +85,7 @@ class EquipBackend : public Equipment::Backend } private: - int mEquipment[EQUIPMENT_SIZE]; + int mEquipment[EQUIP_VECTOR_END]; }; /** |