소스 검색

Follow up to df0457c
* Fixes a possible infinite loop timer for Vacuum Extreme.

aleos 4 년 전
부모
커밋
3d85700628
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -15045,7 +15045,7 @@ TIMER_FUNC(status_change_timer){
 		}
 		break;
 	case SC_VACUUM_EXTREME:
-		if (sce->val4 >= 0) {
+		if (sce->val4 > 0) {
 			// Only slide targets to center if they are standing still
 			if (unit_bl2ud(bl)->walktimer == INVALID_TIMER) {
 				uint16 x = sce->val3 >> 16, y = sce->val3 & 0xFFFF;