summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index c3af52607..c11770a1e 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -830,6 +830,8 @@ int npc_touch_areanpc_sub(struct block_list *bl, va_list ap)
pc_id = va_arg(ap,int);
name = va_arg(ap,char*);
+ if( sd->state.warping )
+ return 0;
if( pc_ishiding(sd) )
return 0;
if( pc_id == sd->bl.id )