From 4cb881c88f5e1879e89ab2c830a622a2edfb0f82 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 10 Sep 2015 22:30:23 -0400 Subject: do not bind trigger detection to map cells --- src/map/npc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/npc.cpp') diff --git a/src/map/npc.cpp b/src/map/npc.cpp index c55dbbf..b7fb9ca 100644 --- a/src/map/npc.cpp +++ b/src/map/npc.cpp @@ -713,12 +713,12 @@ int npc_touch_areanpc(dumb_ptr sd, Borrowed m, int aname.label = stringish("OnTouch"_s); if (sd->areanpc_id == m->npc[i]->bl_id) - return 1; + return 2; sd->areanpc_id = m->npc[i]->bl_id; if (npc_event(sd, aname, 0) > 0) npc_click(sd, m->npc[i]->bl_id); - break; + return 2; } } return 0; -- cgit v1.2.3-60-g2f50