diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-23 17:09:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-23 17:09:28 +0300 |
commit | 04f16152151c23446a6f358badabeda7b0ea7380 (patch) | |
tree | d2a9264e19e6bf5a2ba5d317e930a477628d173e /src/map/pc.c | |
parent | 9aa109f1e404c60cf94832f95c82b7056916d14a (diff) | |
download | plugin-04f16152151c23446a6f358badabeda7b0ea7380.tar.gz plugin-04f16152151c23446a6f358badabeda7b0ea7380.tar.bz2 plugin-04f16152151c23446a6f358badabeda7b0ea7380.tar.xz plugin-04f16152151c23446a6f358badabeda7b0ea7380.zip |
map: send player own extended slots equipped items.
Also add support for sending armor slot.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index e958751..0e59e59 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -81,6 +81,7 @@ void epc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int *p equipPos2(EQP_COSTUME_HEAD_MID, 14); equipPos2(EQP_COSTUME_HEAD_LOW, 15); equipPos2(EQP_COSTUME_GARMENT, 16); + equipPos2(EQP_ARMOR, 17); //skipping SHADOW slots } @@ -111,11 +112,14 @@ void epc_unequipitem_pos(struct map_session_data *sd, int *nPtr, int *posPtr) unequipPos(EQP_HEAD_TOP, head_top, LOOK_HEAD_TOP); unequipPos(EQP_HEAD_MID, head_mid, LOOK_HEAD_MID); unequipPos(EQP_GARMENT, robe, LOOK_ROBE); - //skip EQP_ARMOR unequipPos2(EQP_SHOES, LOOK_SHOES); unequipPos2(EQP_COSTUME_HEAD_TOP, 13); unequipPos2(EQP_COSTUME_HEAD_MID, 14); unequipPos2(EQP_COSTUME_HEAD_LOW, 15); unequipPos2(EQP_COSTUME_GARMENT, 16); + unequipPos2(EQP_ARMOR, 17); //skipping SHADOW slots } + +#undef unequipPos +#undef unequipPos2 |