summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-04-27 16:36:36 +0000
committerFedja Beader <fedja@protonmail.ch>2024-04-27 16:36:36 +0000
commitc831c69d9f50bf418295834ae83e9eb400dfc6b7 (patch)
treecda966e5de3ef56ffcc832c02f63170e48d1b3cb /src/net/tmwa/inventoryhandler.cpp
parent40b605c41542baf9b10a1a2b03af10e3baaa362f (diff)
downloadplus-c831c69d9f50bf418295834ae83e9eb400dfc6b7.tar.gz
plus-c831c69d9f50bf418295834ae83e9eb400dfc6b7.tar.bz2
plus-c831c69d9f50bf418295834ae83e9eb400dfc6b7.tar.xz
plus-c831c69d9f50bf418295834ae83e9eb400dfc6b7.zip
Fix "Show items" (equipment display on other players)
See #73 for discussion Squashed with: * Fix mana pearl showing in arrows slot in Classic * Fix off-by-one. Was causing Old Towel to render in torso slot in ML. **** mana/plus!78
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index a438c2602..076d365f1 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -34,14 +34,13 @@
#include "debug.h"
-// missing EQUIP_RING1_SLOT
const EquipSlot::Type EQUIP_CONVERT[] =
{
EquipSlot::PROJECTILE_SLOT, // 0 0
EquipSlot::FEET_SLOT, // 1 SPRITE_HAIR
EquipSlot::LEGS_SLOT, // 2 SPRITE_WEAPON
EquipSlot::TORSO_SLOT, // 3 SPRITE_HEAD_BOTTOM
- EquipSlot::PROJECTILE_SLOT, // 4 0
+ EquipSlot::RING1_SLOT, // 4 SPRITE_HEAD_TOP
EquipSlot::NECK_SLOT, // 5 SPRITE_RING
EquipSlot::PROJECTILE_SLOT, // 6 0
EquipSlot::HEAD_SLOT, // 7 SPRITE_CLOTHES_COLOR