summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-01 12:08:02 -0200
committershennetsind <ind@henn.et>2013-02-01 12:08:02 -0200
commit7192b105201499e30a50c061e7ab2005c97d3714 (patch)
treed5e482a4c36b9a9ba77f9ffeba038b235a9f19d0 /src/map/npc.c
parent74ed3ed32f33ad4df945718389d7d74ab0a53794 (diff)
downloadhercules-7192b105201499e30a50c061e7ab2005c97d3714.tar.gz
hercules-7192b105201499e30a50c061e7ab2005c97d3714.tar.bz2
hercules-7192b105201499e30a50c061e7ab2005c97d3714.tar.xz
hercules-7192b105201499e30a50c061e7ab2005c97d3714.zip
Fixed Bug #5343
SECURE_NPCTIMEOUT should be fully functional now, fixed remaining known issues. http://hercules.ws/board/tracker/issue-5343-delete-timer-error/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 8de53a64e..3aabeaf98 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -232,6 +232,9 @@ int npc_rr_secure_timeout_timer(int tid, unsigned int tick, int id, intptr_t dat
**/
if( sd->st )
sd->st->state = END;
+ sd->state.menu_or_input = 0;
+ sd->npc_menu = 0;
+
/**
* This guy's been idle for longer than allowed, close him.
**/