mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
fix #1621
This commit is contained in:
parent
5cab8ede90
commit
cb26bedd17
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user