浏览代码

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;