mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
fix #1621
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user