summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-06 03:22:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-06 03:22:50 +0300
commit43e788045d34933ad520e4c9687e9e4b16523087 (patch)
tree919bf799d2d088da46c9e65f175f3d38d25cd0b1 /src/emap/pc.c
parenta3e8a5dd2406247196d796de495056b451c0d73c (diff)
downloadevol-hercules-43e788045d34933ad520e4c9687e9e4b16523087.tar.gz
evol-hercules-43e788045d34933ad520e4c9687e9e4b16523087.tar.bz2
evol-hercules-43e788045d34933ad520e4c9687e9e4b16523087.tar.xz
evol-hercules-43e788045d34933ad520e4c9687e9e4b16523087.zip
Add support for show accessory slots.
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c6
1 files changed, 5 insertions, 1 deletions
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
}