1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Merge pull request #4654 from dydzio0614/any-hex-shooting

Allow targeting empty hex by shooters with multi-tile SPELL_LIKE_ABILITY
This commit is contained in:
Ivan Savenko
2024-09-27 19:23:33 +03:00
committed by GitHub
15 changed files with 156 additions and 48 deletions

View File

@ -328,7 +328,7 @@ void BattleHero::setPhase(EHeroAnimType newPhase)
void BattleHero::heroLeftClicked()
{
if(owner.actionsController->spellcastingModeActive()) //we are casting a spell
if(owner.actionsController->heroSpellcastingModeActive()) //we are casting a spell
return;
if(!hero || !owner.makingTurn())