summaryrefslogtreecommitdiff
path: root/src/map/charcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 01:16:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 01:16:56 +0000
commitbc8350f550226c4d7d848ea9737f46c4a5d61575 (patch)
tree09945b6d680864c4fec46b63ab8a4a5844c45fd0 /src/map/charcommand.c
parent8630d5ddbb8c544096ebd7e6f023c23e9d7e407d (diff)
downloadhercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.gz
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.bz2
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.tar.xz
hercules-bc8350f550226c4d7d848ea9737f46c4a5d61575.zip
- 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
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r--src/map/charcommand.c6
1 files changed, 3 insertions, 3 deletions
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, ");