소스 검색

Fixed jump_zero for conditions over INT32_MAX

Thanks to @Atemo
Lemongrass3110 5 년 전
부모
커밋
d165c19b73
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/map/script.cpp

+ 1 - 2
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)) ){