Merge pull request #3140 from vcmi/fix-3003

#3003 - fix hypnotize
This commit is contained in:
Andrii Danylchenko authored and GitHub committed 2023-11-04 10:50:58 +02:00
commit a8cc5e1d60
1 file changed
+1 -1
+1 -1
View File
@@ -905,7 +905,7 @@ void BattleActionsController::tryActivateStackSpellcasting(const CStack *casterS
const spells::Caster * BattleActionsController::getCurrentSpellcaster() const
{
if (heroSpellToCast)
return owner.getActiveHero();
return owner.currentHero();
else
return owner.stacksController->getActiveStack();
}