1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00
This commit is contained in:
Konstantin 2023-03-01 19:22:06 +03:00
parent 5cab8ede90
commit cb26bedd17

View File

@ -43,7 +43,7 @@ bool AccessibilityInfo::accessible(BattleHex tile, bool doubleWide, ui8 side) co
auto otherHex = battle::Unit::occupiedHex(tile, doubleWide, side);
if(!otherHex.isValid())
return false;
if(!tileAccessibleWithGate(tile, side))
if(!tileAccessibleWithGate(otherHex, side))
return false;
}