diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-08 01:16:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-08 01:16:56 +0000 |
commit | bc8350f550226c4d7d848ea9737f46c4a5d61575 (patch) | |
tree | 09945b6d680864c4fec46b63ab8a4a5844c45fd0 /src/map/pc.h | |
parent | 8630d5ddbb8c544096ebd7e6f023c23e9d7e407d (diff) | |
download | hercules-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/pc.h')
-rw-r--r-- | src/map/pc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index a8435508b..32eea853c 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -64,8 +64,9 @@ enum { EQP_AMMO = 0x8000, //32768
} equip_pos_enum;
-#define EQP_WEAPON (EQP_HAND_R|EQP_HAND_L)
+#define EQP_WEAPON EQP_HAND_R
#define EQP_SHIELD EQP_HAND_L
+#define EQP_ARMS (EQP_HAND_R|EQP_HAND_L)
#define EQP_HELM (EQP_HEAD_LOW|EQP_HEAD_MID|EQP_HEAD_TOP)
#define EQP_ACC (EQP_ACC_L|EQP_ACC_R)
|