diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-02 00:23:31 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-02 00:23:31 +0000 |
commit | 17ab1736a5534a83711ebc65a4fb28c7cbf858da (patch) | |
tree | 9b9f84cc9fceb06e44d6c59b1672f178f85bffb9 /src/map/pc.h | |
parent | cf281b082ddfa75775c856bb7b4096822b0ef5df (diff) | |
download | hercules-17ab1736a5534a83711ebc65a4fb28c7cbf858da.tar.gz hercules-17ab1736a5534a83711ebc65a4fb28c7cbf858da.tar.bz2 hercules-17ab1736a5534a83711ebc65a4fb28c7cbf858da.tar.xz hercules-17ab1736a5534a83711ebc65a4fb28c7cbf858da.zip |
Fixed bugreport:6393 costume items now display properly in the equipment window.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16554 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index b4f10e02f..0669edf3e 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -551,12 +551,13 @@ enum equip_pos { #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) +#define EQP_COSTUME (EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW) /// Equip positions that use a visible sprite #if PACKETVER < 20110111 #define EQP_VISIBLE EQP_HELM -#else - #define EQP_VISIBLE (EQP_HELM|EQP_GARMENT) +#else + #define EQP_VISIBLE (EQP_HELM|EQP_GARMENT|EQP_COSTUME) #endif //Equip indexes constants. (eg: sd->equip_index[EQI_AMMO] returns the index |