2
0
Эх сурвалжийг харах

Do not allow stopping movement while in air

(client-side check, since proper fix would require major rewrite)
Ivan Savenko 2 жил өмнө
parent
commit
f66a8a9cf0

+ 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;
 		}