mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
#3003 - fix hypnotize
This commit is contained in:
parent
0376873cb3
commit
3b27e07385
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user