summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-05 17:59:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-05 17:59:35 +0300
commitab576fe0fc7a7f7de3880e9abd6b5cc068a1c0d1 (patch)
treed6a1f7bccde4a71c3b9fef8163d2d53620eecc12 /src/emap/clif.c
parent7eaba97f02e18d8610ea004851ab2ec8b8edeebb (diff)
downloadplugin-ab576fe0fc7a7f7de3880e9abd6b5cc068a1c0d1.tar.gz
plugin-ab576fe0fc7a7f7de3880e9abd6b5cc068a1c0d1.tar.bz2
plugin-ab576fe0fc7a7f7de3880e9abd6b5cc068a1c0d1.tar.xz
plugin-ab576fe0fc7a7f7de3880e9abd6b5cc068a1c0d1.zip
Add workaround for allow always npc script execution after warping.
In hercules it not enabled because Gravity client have issue if warp to other map.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 7651f09..c1aa1d4 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -375,3 +375,9 @@ void eclif_move(struct unit_data *ud)
if (!sd || !pc_isinvisible(sd))
send_advmoving(ud, ud->bl, AREA_WOS);
}
+
+void eclif_parse_LoadEndAck_pre(int *fdPtr __attribute__ ((unused)),
+ struct map_session_data *sd)
+{
+ sd->state.warp_clean = 0;
+}