Browse Source

#3003 - fix hypnotize

Andrii Danylchenko 1 year ago
parent
commit
3b27e07385
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/battle/BattleActionsController.cpp

+ 1 - 1
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();
 }