diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index c20278dc2..55a0eb23e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10735,10 +10735,10 @@ BUILDIN_FUNC(jump_zero) sel=script_getnum(st,2); if(!sel) { int pos; - if( !data_islabel(script_getdata(st,2)) ){ + if( !data_islabel(script_getdata(st,3)) ){ ShowError("script: jump_zero: not label !\n"); st->state=END; - return 0; + return 1; } pos=script_getnum(st,3); |