diff --git a/client/battle/CBattleInterface.cpp b/client/battle/CBattleInterface.cpp index f90ea56ab..cc486c89d 100644 --- a/client/battle/CBattleInterface.cpp +++ b/client/battle/CBattleInterface.cpp @@ -2142,6 +2142,7 @@ void CBattleInterface::handleHex(BattleHex myNumber, int eventType) legalAction = true; bool hexesOutsideBattlefield = false; + //todo: move to spell mechanics auto tilesThatMustBeClear = sp->rangeInHexes(myNumber, hero->getSpellSchoolLevel(sp), side, &hexesOutsideBattlefield); for(BattleHex hex : tilesThatMustBeClear) {