From f66a8a9cf01d71e15d3fe87b28bb04fe9eb4b2f4 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Wed, 21 Jun 2023 17:29:28 +0300 Subject: [PATCH] Do not allow stopping movement while in air (client-side check, since proper fix would require major rewrite) --- lib/pathfinder/PathfinderUtil.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pathfinder/PathfinderUtil.h b/lib/pathfinder/PathfinderUtil.h index bb9ca5bb4..39d6dc7d5 100644 --- a/lib/pathfinder/PathfinderUtil.h +++ b/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; }