From 9babdbcbb4209a6ae861550eb662ac810d7ad886 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 12 May 2008 09:18:24 +0000 Subject: Fixed a script engine problem where warping away while having a menu window open and talking to an another npc with a menu would produce menu option count mismatch errors (bugreport:1208) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12703 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 2c2f5c10e..bac29ef47 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7948,6 +7948,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) // abort currently running script sd->state.using_fake_npc = 0; + sd->state.menu_or_input = 0; + sd->npc_menu = 0; if(sd->npc_id) npc_event_dequeue(sd); -- cgit v1.2.3-70-g09d2