diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-31 22:16:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-31 22:16:09 +0300 |
commit | fdb8081a82ec85c9ff23a89a82f81240d8bcaec9 (patch) | |
tree | b57ea397090586873ccf2d68d328b54839b52c3e /src/net/tmwa | |
parent | 243497fdab7c2f88bebb0e469ecbb2f1fbbe350d (diff) | |
download | manaplus-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.gz manaplus-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.bz2 manaplus-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.xz manaplus-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.zip |
Fix slots mapping.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index ecf875b78..cc4ecabbd 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -68,6 +68,7 @@ const Equipment::Slot EQUIP_POINTS[Equipment::EQUIP_VECTOREND] = Equipment::EQUIP_PROJECTILE_SLOT, }; +// missing EQUIP_RING1_SLOT const Equipment::Slot EQUIP_CONVERT[] = { Equipment::EQUIP_PROJECTILE_SLOT, // 0 @@ -75,10 +76,10 @@ const Equipment::Slot EQUIP_CONVERT[] = Equipment::EQUIP_LEGS_SLOT, // SPRITE_BOTTOMCLOTHES Equipment::EQUIP_TORSO_SLOT, // SPRITE_TOPCLOTHES Equipment::EQUIP_PROJECTILE_SLOT, // 0 - Equipment::EQUIP_PROJECTILE_SLOT, // 0 + Equipment::EQUIP_NECK_SLOT, // SPRITE_RING Equipment::EQUIP_PROJECTILE_SLOT, // 0 Equipment::EQUIP_HEAD_SLOT, // SPRITE_HAT - Equipment::EQUIP_PROJECTILE_SLOT, // 0 + Equipment::EQUIP_RING2_SLOT, // 0 Equipment::EQUIP_GLOVES_SLOT, // SPRITE_GLOVES Equipment::EQUIP_FIGHT1_SLOT, // SPRITE_WEAPON Equipment::EQUIP_FIGHT2_SLOT, // SPRITE_SHIELD |