summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-12-16 21:04:36 +0100
committerHaruna <haru@dotalux.com>2014-12-16 21:04:36 +0100
commit2678d34cc2494f6abc53195e85bc65c9fdc382aa (patch)
tree8c89ee32854f4fcde364a9692ec8d606c7dff446 /src/map/clif.c
parentc7df86cc2442c29649ae44b629b05818a1742c08 (diff)
parent4e546bb97afdc3d4a0a29325b88942873ed676a3 (diff)
downloadhercules-2678d34cc2494f6abc53195e85bc65c9fdc382aa.tar.gz
hercules-2678d34cc2494f6abc53195e85bc65c9fdc382aa.tar.bz2
hercules-2678d34cc2494f6abc53195e85bc65c9fdc382aa.tar.xz
hercules-2678d34cc2494f6abc53195e85bc65c9fdc382aa.zip
Merge pull request #409 from 4144/npcdistance
Extend npc/script commands
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 173175260..3515bb806 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9597,7 +9597,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) {
if (map->getcell(sd->bl.m,sd->bl.x,sd->bl.y,CELL_CHKNPC))
npc->touch_areanpc(sd,sd->bl.m,sd->bl.x,sd->bl.y);
else
- sd->areanpc_id = 0;
+ npc->untouch_areanpc(sd, sd->bl.m, sd->bl.x, sd->bl.y);
/* it broke at some point (e.g. during a crash), so we make it visibly dead again. */
if( !sd->status.hp && !pc_isdead(sd) && status->isdead(&sd->bl) )