summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-07 18:47:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 22:44:20 +0300
commit3a0bded54bcc5390bf6cd4be9e53206e1bc9e5c2 (patch)
tree55e0658924aed6ed0ac73ca2d4d3391ce5e79fbe /src/map/npc.h
parent61d6c958d5a753904d32ef2057b50f426bb0f3b9 (diff)
downloadhercules-3a0bded54bcc5390bf6cd4be9e53206e1bc9e5c2.tar.gz
hercules-3a0bded54bcc5390bf6cd4be9e53206e1bc9e5c2.tar.bz2
hercules-3a0bded54bcc5390bf6cd4be9e53206e1bc9e5c2.tar.xz
hercules-3a0bded54bcc5390bf6cd4be9e53206e1bc9e5c2.zip
Add function what called if player leave npc area.
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index cb8f09644..a5a2b4676 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -207,6 +207,7 @@ struct npc_interface {
int (*touch_areanpc_sub) (struct block_list *bl, va_list ap);
int (*touchnext_areanpc) (struct map_session_data *sd, bool leavemap);
int (*touch_areanpc) (struct map_session_data *sd, int16 m, int16 x, int16 y);
+ int (*untouch_areanpc) (struct map_session_data *sd, int16 m, int16 x, int16 y);
int (*touch_areanpc2) (struct mob_data *md);
int (*check_areanpc) (int flag, int16 m, int16 x, int16 y, int16 range);
struct npc_data* (*checknear) (struct map_session_data *sd, struct block_list *bl);