1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Mechanic for air and land transport

This commit is contained in:
nordsoft
2023-04-18 18:33:28 +04:00
parent ddcdfb643a
commit 3ff99a1a15
2 changed files with 4 additions and 5 deletions

View File

@ -1022,7 +1022,7 @@ bool TurnInfo::isLayerAvailable(const EPathfindingLayer & layer) const
if(hero && hero->boat && hero->boat->layer == EPathfindingLayer::AIR)
break;
if(hasBonusOfType(Bonus::FLYING_MOVEMENT))
if(!hasBonusOfType(Bonus::FLYING_MOVEMENT))
return false;
break;