浏览代码

Do not allow stopping movement while in air

(client-side check, since proper fix would require major rewrite)
Ivan Savenko 2 年之前
父节点
当前提交
f66a8a9cf0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lib/pathfinder/PathfinderUtil.h

+ 1 - 2
lib/pathfinder/PathfinderUtil.h

@@ -70,8 +70,7 @@ namespace PathfinderUtil
 			break;
 
 		case ELayer::AIR:
-			if(tinfo.blocked || tinfo.terType->isLand())
-				return EPathAccessibility::FLYABLE;
+			return EPathAccessibility::FLYABLE;
 
 			break;
 		}