summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-28 03:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-28 03:43:19 +0300
commit9438cc42d708801b73ebe1083e5a9043bdb4a29a (patch)
tree9d355aaa0fa4c8391ca7dd3ffd3c642f3142fe25 /src/emap/clif.c
parent2a1492c2bdc85f2917775987d4f72660fcfed4b0 (diff)
downloadevol-hercules-9438cc42d708801b73ebe1083e5a9043bdb4a29a.tar.gz
evol-hercules-9438cc42d708801b73ebe1083e5a9043bdb4a29a.tar.bz2
evol-hercules-9438cc42d708801b73ebe1083e5a9043bdb4a29a.tar.xz
evol-hercules-9438cc42d708801b73ebe1083e5a9043bdb4a29a.zip
Fix sending player flags to other players.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 24265e4..0c913e9 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -243,9 +243,19 @@ void eclif_getareachar_unit_post(TBL_PC* sd, struct block_list *bl)
{
eclif_send_additional_slots(sd, (TBL_PC *)bl);
eclif_send_additional_slots((TBL_PC *)bl, sd);
+ send_pc_info(bl, &sd->bl, SELF);
}
}
+bool eclif_spawn_post(bool retVal, struct block_list *bl)
+{
+ if (retVal == true && bl->type == BL_PC)
+ {
+ send_pc_info(bl, bl, AREA);
+ }
+ return retVal;
+}
+
void eclif_authok_post(TBL_PC *sd)
{
if (!sd)