diff --git a/client/battle/BattleActionsController.cpp b/client/battle/BattleActionsController.cpp index 7e476340c..f3adbe037 100644 --- a/client/battle/BattleActionsController.cpp +++ b/client/battle/BattleActionsController.cpp @@ -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(); }