diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-14 16:59:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-14 16:59:50 +0300 |
commit | f57a705e52b4a21a6e34c93871f689ef971d885f (patch) | |
tree | 77e27d52e9a2d9db7188b9bae6823e539203d6a2 /src/emap/script.h | |
parent | f03b90ff34e16a5fdd50e3994defffabd088f116 (diff) | |
download | evol-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.h | 1 |
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); |