diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index e3f82d6..96ace2c 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -209,7 +209,7 @@ int buildin_hideonnpc(struct script_state *st); int buildin_sc_start(struct script_state *st); int buildin_sc_start2(struct script_state *st); int buildin_sc_end(struct script_state *st); -int buildin_sc_check(struct script_state *st); +int buildin_sc_check(struct script_state *st); // [Fate] int buildin_getscrate(struct script_state *st); int buildin_debugmes(struct script_state *st); int buildin_resetlvl(struct script_state *st); @@ -6430,7 +6430,6 @@ int run_script_l(unsigned char *script,int pos,int rid,int oid, int args_nr, arg struct map_session_data *sd=map_id2sd(rid); unsigned char *rootscript=script; int i; - if(script==NULL || pos<0) return -1; |