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
|
const spells::Caster * BattleActionsController::getCurrentSpellcaster() const
|
||||||
{
|
{
|
||||||
if (heroSpellToCast)
|
if (heroSpellToCast)
|
||||||
return owner.getActiveHero();
|
return owner.currentHero();
|
||||||
else
|
else
|
||||||
return owner.stacksController->getActiveStack();
|
return owner.stacksController->getActiveStack();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user