Fixed jump_zero for conditions over INT32_MAX

Thanks to @Atemo
This commit is contained in:
Lemongrass3110 2020-02-17 22:50:19 +01:00
parent 390eb9772a
commit d165c19b73

View File

@ -14975,8 +14975,7 @@ BUILDIN_FUNC(checkequipedcard)
BUILDIN_FUNC(jump_zero)
{
int sel;
sel=script_getnum(st,2);
int64 sel=script_getnum64(st,2);
if(!sel) {
int pos;
if( !data_islabel(script_getdata(st,3)) ){