- Changed the script source from unsigned char* to const char*.
- Updated plugins Makefile. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -31,7 +31,7 @@ extern struct Script_Config {
|
||||
|
||||
struct script_data {
|
||||
int type;
|
||||
union {
|
||||
union script_data_val {
|
||||
int num;
|
||||
char *str;
|
||||
} u;
|
||||
@@ -61,7 +61,7 @@ struct script_state {
|
||||
} sleep;
|
||||
};
|
||||
|
||||
struct script_code* parse_script(unsigned char *,const char*,int);
|
||||
struct script_code* parse_script(const char* src,const char* file,int line);
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user