1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Merge pull request #1624 from rilian-la-te/fix-1621

fix #1621
This commit is contained in:
Ivan Savenko
2023-03-01 19:54:56 +02:00
committed by GitHub

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;
}