summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-03 16:19:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-03 16:19:14 +0000
commitc2006cba2be4ba0588186a2f5f61cc7f73392b2b (patch)
tree56f567a48227df97e9171cb48d9f22af806fcfeb /src/map/script.h
parent6094568a44e60c0ac6021cb9b44973e325dcae6e (diff)
downloadhercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.gz
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.bz2
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.tar.xz
hercules-c2006cba2be4ba0588186a2f5f61cc7f73392b2b.zip
- Reverted declaration of run_script to normal since it appears there's no longer any memory leaks related to it.
- Returned the MAX_PC_BONUS value to 10. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8928 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 9970937a5..9fcd2f739 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -63,8 +63,7 @@ struct script_state {
struct script_code* parse_script(unsigned char *,const char*,int);
void run_script_sub(struct script_code *rootscript,int pos,int rid,int oid, char* file, int lineno);
-//void run_script(struct script_code*,int,int,int);
-#define run_script(sc,pos,rid,oid) run_script_sub(sc,pos,rid,oid,__FILE__,__LINE__)
+void run_script(struct script_code*,int,int,int);
int set_var(struct map_session_data *sd, char *name, void *val);
int conv_num(struct script_state *st,struct script_data *data);