mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
Do not allow stopping movement while in air
(client-side check, since proper fix would require major rewrite)
This commit is contained in:
parent
90c68588f9
commit
f66a8a9cf0
@ -70,8 +70,7 @@ namespace PathfinderUtil
|
||||
break;
|
||||
|
||||
case ELayer::AIR:
|
||||
if(tinfo.blocked || tinfo.terType->isLand())
|
||||
return EPathAccessibility::FLYABLE;
|
||||
return EPathAccessibility::FLYABLE;
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user