mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +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:
@ -70,8 +70,7 @@ namespace PathfinderUtil
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ELayer::AIR:
|
case ELayer::AIR:
|
||||||
if(tinfo.blocked || tinfo.terType->isLand())
|
return EPathAccessibility::FLYABLE;
|
||||||
return EPathAccessibility::FLYABLE;
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user