mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Formatting change
This commit is contained in:
parent
85eb159e58
commit
50b0773aab
@ -858,6 +858,7 @@ AccessibilityInfo CBattleInfoCallback::getAccesibility() const
|
||||
//special battlefields with logically unavailable tiles
|
||||
std::vector<BattleHex> impassableHexes;
|
||||
if(battleGetBattlefieldType().num == BFieldType::SHIP_TO_SHIP)
|
||||
{
|
||||
impassableHexes =
|
||||
{
|
||||
6, 7, 8, 9,
|
||||
@ -870,6 +871,7 @@ AccessibilityInfo CBattleInfoCallback::getAccesibility() const
|
||||
159, 160, 161, 162, 163,
|
||||
176, 177, 178, 179, 180
|
||||
};
|
||||
}
|
||||
for(auto hex : impassableHexes)
|
||||
ret[hex] = EAccessibility::UNAVAILABLE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user