Pārlūkot izejas kodu

Do not allow stopping movement while in air

(client-side check, since proper fix would require major rewrite)
Ivan Savenko 2 gadi atpakaļ
vecāks
revīzija
f66a8a9cf0
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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;
 		}