From bc8350f550226c4d7d848ea9737f46c4a5d61575 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 8 Aug 2006 01:16:56 +0000 Subject: - Changed define EQP_WEAPON to specify only the right-hand weapon, added define EQP_ARMS to specify both arm-slots. - Some minor code cleanups to take account for the above, fixed Strip shield/weapon removing both. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8177 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/charcommand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/charcommand.c') diff --git a/src/map/charcommand.c b/src/map/charcommand.c index 50f44988a..d2a75eb1d 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -783,11 +783,11 @@ charcommand_itemlist( strcat(equipstr, "left accessory, "); if (equip & EQP_ARMOR) strcat(equipstr, "body/armor, "); - if ((equip & EQP_WEAPON) == EQP_HAND_R) + if ((equip & EQP_ARMS) == EQP_HAND_R) strcat(equipstr, "right hand, "); - if ((equip & EQP_WEAPON) == EQP_HAND_L) + if ((equip & EQP_ARMS) == EQP_HAND_L) strcat(equipstr, "left hand, "); - if ((equip & EQP_WEAPON) == EQP_WEAPON) + if ((equip & EQP_ARMS) == EQP_ARMS) strcat(equipstr, "both hands, "); if (equip & EQP_SHOES) strcat(equipstr, "feet, "); -- cgit v1.2.3-60-g2f50