summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-31 22:16:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-31 22:16:09 +0300
commitfdb8081a82ec85c9ff23a89a82f81240d8bcaec9 (patch)
treeb57ea397090586873ccf2d68d328b54839b52c3e
parent243497fdab7c2f88bebb0e469ecbb2f1fbbe350d (diff)
downloadManaVerse-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.gz
ManaVerse-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.bz2
ManaVerse-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.tar.xz
ManaVerse-fdb8081a82ec85c9ff23a89a82f81240d8bcaec9.zip
Fix slots mapping.
-rw-r--r--src/net/tmwa/inventoryhandler.cpp5
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