diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-06 03:22:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-06 03:22:50 +0300 |
commit | 43e788045d34933ad520e4c9687e9e4b16523087 (patch) | |
tree | 919bf799d2d088da46c9e65f175f3d38d25cd0b1 /src/emap | |
parent | a3e8a5dd2406247196d796de495056b451c0d73c (diff) | |
download | plugin-43e788045d34933ad520e4c9687e9e4b16523087.tar.gz plugin-43e788045d34933ad520e4c9687e9e4b16523087.tar.bz2 plugin-43e788045d34933ad520e4c9687e9e4b16523087.tar.xz plugin-43e788045d34933ad520e4c9687e9e4b16523087.zip |
Add support for show accessory slots.
Diffstat (limited to 'src/emap')
-rw-r--r-- | src/emap/clif.c | 4 | ||||
-rw-r--r-- | src/emap/pc.c | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index 11b542f..ee5e838 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -238,6 +238,8 @@ static void eclif_send_additional_slots(TBL_PC* sd, TBL_PC* sd2) equipPos(EQI_COSTUME_LOW, 15); equipPos(EQI_COSTUME_GARMENT, 16); equipPos(EQI_ARMOR, 17); + equipPos(EQI_ACC_R, 18); + equipPos(EQI_ACC_L, 19); //skipping SHADOW slots } @@ -276,6 +278,8 @@ static void eclif_send_additional_slots2(struct block_list *bl) equipPos2(EQI_COSTUME_LOW, 15); equipPos2(EQI_COSTUME_GARMENT, 16); equipPos2(EQI_ARMOR, 17); + equipPos2(EQI_ACC_R, 18); + equipPos2(EQI_ACC_L, 19); //skipping SHADOW slots } diff --git a/src/emap/pc.c b/src/emap/pc.c index ae66edd..95230d5 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -143,8 +143,10 @@ void epc_equipitem_pos(TBL_PC *sd, struct item_data *id, int *nPtr, int *posPtr) equipPos2(EQP_COSTUME_HEAD_LOW, 15); equipPos2(EQP_COSTUME_GARMENT, 16); equipPos2(EQP_ARMOR, 17); - //skipping SHADOW slots + equipPos2(EQP_ACC_R, 18); + equipPos2(EQP_ACC_L, 19); + //skipping SHADOW slots } #undef equipPos @@ -199,6 +201,8 @@ void epc_unequipitem_pos(TBL_PC *sd, unequipPos2(EQP_COSTUME_HEAD_LOW, 15); unequipPos2(EQP_COSTUME_GARMENT, 16); unequipPos2(EQP_ARMOR, 17); + unequipPos2(EQP_ACC_R, 18); + unequipPos2(EQP_ACC_L, 19); //skipping SHADOW slots } |