diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-12 19:47:25 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-12 19:47:25 +0000 |
commit | ce69890ac991fcac5c8ffb29591d68ab203d811a (patch) | |
tree | ed04511b6273121080de87b78088044c5062f9f8 /src/game-server/inventory.cpp | |
parent | 21c0c9d07b897235b422c004394325dd07daa304 (diff) | |
download | manaserv-ce69890ac991fcac5c8ffb29591d68ab203d811a.tar.gz manaserv-ce69890ac991fcac5c8ffb29591d68ab203d811a.tar.bz2 manaserv-ce69890ac991fcac5c8ffb29591d68ab203d811a.tar.xz manaserv-ce69890ac991fcac5c8ffb29591d68ab203d811a.zip |
Added support for visible equipment.
Diffstat (limited to 'src/game-server/inventory.cpp')
-rw-r--r-- | src/game-server/inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/inventory.cpp b/src/game-server/inventory.cpp index 4204304f..7cefd72b 100644 --- a/src/game-server/inventory.cpp +++ b/src/game-server/inventory.cpp @@ -369,9 +369,9 @@ bool Inventory::equip(int slot) firstSlot = EQUIP_RING1_SLOT; secondSlot = EQUIP_RING2_SLOT; break; - case ITEM_EQUIPMENT_BREST: + case ITEM_EQUIPMENT_TORSO: availableSlots = 1; - firstSlot = EQUIP_BREST_SLOT; + firstSlot = EQUIP_TORSO_SLOT; break; case ITEM_EQUIPMENT_ARMS: availableSlots = 1; |