summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 73ba7303e..cf7f22aa9 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -371,6 +371,7 @@ struct script_code {
int script_size;
unsigned char *script_buf;
struct reg_db local; ///< Local (npc) vars
+ unsigned short instances;
};
struct script_stack {
@@ -407,7 +408,7 @@ struct script_state {
int pos;
enum e_script_state state;
int rid,oid;
- struct script_code *script, *scriptroot;
+ struct script_code *script;
struct sleep_data {
int tick,timer,charid;
} sleep;