From 50b0773aabd6523982a374f55513f0642cfead6d Mon Sep 17 00:00:00 2001 From: Dydzio Date: Fri, 14 Jul 2017 15:24:50 +0200 Subject: [PATCH] Formatting change --- lib/battle/CBattleInfoCallback.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/battle/CBattleInfoCallback.cpp b/lib/battle/CBattleInfoCallback.cpp index e07ac62b3..4679afca5 100644 --- a/lib/battle/CBattleInfoCallback.cpp +++ b/lib/battle/CBattleInfoCallback.cpp @@ -858,6 +858,7 @@ AccessibilityInfo CBattleInfoCallback::getAccesibility() const //special battlefields with logically unavailable tiles std::vector 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;