summaryrefslogtreecommitdiff
path: root/src/emap/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-14 16:59:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-14 16:59:50 +0300
commitf57a705e52b4a21a6e34c93871f689ef971d885f (patch)
tree77e27d52e9a2d9db7188b9bae6823e539203d6a2 /src/emap/script.h
parentf03b90ff34e16a5fdd50e3994defffabd088f116 (diff)
downloadevol-hercules-f57a705e52b4a21a6e34c93871f689ef971d885f.tar.gz
evol-hercules-f57a705e52b4a21a6e34c93871f689ef971d885f.tar.bz2
evol-hercules-f57a705e52b4a21a6e34c93871f689ef971d885f.tar.xz
evol-hercules-f57a705e52b4a21a6e34c93871f689ef971d885f.zip
Fix npc assertions on maps with always visible npcs after reload scripts.
Clean npc info stored in plugin data if scripts was reloaded.
Diffstat (limited to 'src/emap/script.h')
-rw-r--r--src/emap/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h
index 534eb82..af851f7 100644
--- a/src/emap/script.h
+++ b/src/emap/script.h
@@ -4,6 +4,7 @@
#ifndef EVOL_MAP_SCRIPT
#define EVOL_MAP_SCRIPT
+int escript_reload(void);
void eset_reg_npcscope_num(struct script_state* st, struct reg_db *n, int64 *num, const char* name, int *val);
int eget_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data);
void eset_reg_npcscope_str(struct script_state* st, struct reg_db *n, int64 *num, const char* name, const char *str);