From d165c19b73e853e816da0f3c701460bd3d3d35be Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Mon, 17 Feb 2020 22:50:19 +0100 Subject: [PATCH] Fixed jump_zero for conditions over INT32_MAX Thanks to @Atemo --- src/map/script.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/map/script.cpp b/src/map/script.cpp index 3785685d11..5af99c5a5f 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -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)) ){