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:
@ -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())
|
||||
|
Reference in New Issue
Block a user