Fixed jump_zero for conditions over INT32_MAX
Thanks to @Atemo
This commit is contained in:
parent
390eb9772a
commit
d165c19b73
@ -14975,8 +14975,7 @@ BUILDIN_FUNC(checkequipedcard)
|
|||||||
|
|
||||||
BUILDIN_FUNC(jump_zero)
|
BUILDIN_FUNC(jump_zero)
|
||||||
{
|
{
|
||||||
int sel;
|
int64 sel=script_getnum64(st,2);
|
||||||
sel=script_getnum(st,2);
|
|
||||||
if(!sel) {
|
if(!sel) {
|
||||||
int pos;
|
int pos;
|
||||||
if( !data_islabel(script_getdata(st,3)) ){
|
if( !data_islabel(script_getdata(st,3)) ){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user