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:
@ -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;
|
||||
|
Reference in New Issue
Block a user