mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-15 11:46:56 +02:00
Start with a todo note for this branch
This commit is contained in:
parent
cf1d5d0bc9
commit
d4d1693152
@ -2142,6 +2142,7 @@ void CBattleInterface::handleHex(BattleHex myNumber, int eventType)
|
|||||||
|
|
||||||
legalAction = true;
|
legalAction = true;
|
||||||
bool hexesOutsideBattlefield = false;
|
bool hexesOutsideBattlefield = false;
|
||||||
|
//todo: move to spell mechanics
|
||||||
auto tilesThatMustBeClear = sp->rangeInHexes(myNumber, hero->getSpellSchoolLevel(sp), side, &hexesOutsideBattlefield);
|
auto tilesThatMustBeClear = sp->rangeInHexes(myNumber, hero->getSpellSchoolLevel(sp), side, &hexesOutsideBattlefield);
|
||||||
for(BattleHex hex : tilesThatMustBeClear)
|
for(BattleHex hex : tilesThatMustBeClear)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user