summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-23 17:09:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-23 17:09:28 +0300
commit04f16152151c23446a6f358badabeda7b0ea7380 (patch)
treed2a9264e19e6bf5a2ba5d317e930a477628d173e /src/map/clif.c
parent9aa109f1e404c60cf94832f95c82b7056916d14a (diff)
downloadplugin-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/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 0bcd990..65f5468 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -121,12 +121,12 @@ static void eclif_send_additional_slots(struct map_session_data* sd, struct map_
equipPos(EQI_HEAD_TOP, LOOK_HEAD_TOP);
equipPos(EQI_HEAD_MID, LOOK_HEAD_MID);
equipPos(EQI_GARMENT, LOOK_ROBE);
- //skip EQI_ARMOR
equipPos(EQI_SHOES, LOOK_SHOES);
equipPos(EQI_COSTUME_TOP, 13);
equipPos(EQI_COSTUME_MID, 14);
equipPos(EQI_COSTUME_LOW, 15);
equipPos(EQI_COSTUME_GARMENT, 16);
+ equipPos(EQI_ARMOR, 17);
//skipping SHADOW slots
}
@@ -139,3 +139,8 @@ void eclif_getareachar_unit_post(struct map_session_data* sd, struct block_list
eclif_send_additional_slots((struct map_session_data *)bl, sd);
}
}
+
+void eclif_authok_post(struct map_session_data *sd)
+{
+ eclif_send_additional_slots(sd, sd);
+}