summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-12 09:18:24 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-12 09:18:24 +0000
commit9babdbcbb4209a6ae861550eb662ac810d7ad886 (patch)
treee672b550c0bd3a0980b35a121bb26c530cf9d2c3 /src/map/pc.h
parent9fc2a1039aa77050384d2c3da7cba93e8af22e8b (diff)
downloadhercules-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/pc.h')
-rw-r--r--src/map/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index ccd6d0e95..42a28c78c 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -146,7 +146,7 @@ struct map_session_data {
unsigned int client_tick;
int npc_id,areanpc_id,npc_shopid;
int npc_item_flag; //Marks the npc_id with which you can use items during interactions with said npc (see script command enable_itemuse)
- int npc_menu;
+ int npc_menu; // internal variable, used in npc menu handling
int npc_amount;
struct script_state *st;
char npc_str[CHATBOX_SIZE]; // for passing npc input box text to script engine