summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a1be1f8..3c6675e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -152,6 +152,7 @@ void eclif_authok_post(struct map_session_data *sd)
return;
eclif_send_additional_slots(sd, sd);
+ send_pc_info(sd, sd, SELF);
struct MapdExt *data = mapd_get(sd->bl.m);
int mask = data ? data->mask : 1;
send_mapmask(sd->fd, mask);
@@ -232,8 +233,10 @@ void eclif_set_unit_idle_post(struct block_list* bl, struct map_session_data *ts
if (!bl || !tsd)
return;
- if (bl->type == BL_MOB && tsd)
- send_mob_info(bl, tsd ? &tsd->bl : bl, *target);
+ if (bl->type == BL_MOB)
+ send_mob_info(bl, &tsd->bl, *target);
+ else if (bl->type == BL_PC)
+ send_pc_info(bl, &tsd->bl, *target);
}
void eclif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,