summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-21 21:30:46 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-21 21:30:46 +0000
commit8f049e98306b7eaae81ea7df0a837d91ef21d438 (patch)
tree7859169f389643fb0f30df7ec801caa43bf44434 /src/map/script.h
parent6537ed663f6a57188697bf9ab6fa49dd47562ed1 (diff)
downloadhercules-8f049e98306b7eaae81ea7df0a837d91ef21d438.tar.gz
hercules-8f049e98306b7eaae81ea7df0a837d91ef21d438.tar.bz2
hercules-8f049e98306b7eaae81ea7df0a837d91ef21d438.tar.xz
hercules-8f049e98306b7eaae81ea7df0a837d91ef21d438.zip
* Fixed dynamic shop arrays @bought_nameid, @bought_quantity, @sold_nameid and @sold_quantity not getting reset to zero before use, thus providing attached script with wrong/old data, if it did not clear them by itself in previous call (bugreport:1574, since r5841).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14611 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 9bc697e98..d95ecbbb2 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -167,6 +167,8 @@ struct DBMap* script_get_label_db(void);
struct DBMap* script_get_userfunc_db(void);
void script_run_autobonus(const char *autobonus,int id, int pos);
+void script_cleararray_pc(struct map_session_data* sd, const char* varname, void* value);
+
int script_config_read(char *cfgName);
int do_init_script(void);
int do_final_script(void);