diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-12 09:18:24 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-12 09:18:24 +0000 |
commit | 9babdbcbb4209a6ae861550eb662ac810d7ad886 (patch) | |
tree | e672b550c0bd3a0980b35a121bb26c530cf9d2c3 /src/map/clif.c | |
parent | 9fc2a1039aa77050384d2c3da7cba93e8af22e8b (diff) | |
download | hercules-9babdbcbb4209a6ae861550eb662ac810d7ad886.tar.gz hercules-9babdbcbb4209a6ae861550eb662ac810d7ad886.tar.bz2 hercules-9babdbcbb4209a6ae861550eb662ac810d7ad886.tar.xz hercules-9babdbcbb4209a6ae861550eb662ac810d7ad886.zip |
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
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |