diff --git a/client/battle/CBattleInterfaceClasses.cpp b/client/battle/CBattleInterfaceClasses.cpp index 58c83ac5e..423bda176 100644 --- a/client/battle/CBattleInterfaceClasses.cpp +++ b/client/battle/CBattleInterfaceClasses.cpp @@ -214,11 +214,8 @@ void CBattleHero::clickRight(tribool down, bool previousState) if (down && myOwner->myTurn) { - if (myHero != nullptr) - targetHero.initFromHero(myHero, InfoAboutHero::EInfoLevel::INBATTLE); - else - targetHero = myOwner->enemyHero(); - + auto h = flip ? myOwner->defendingHeroInstance : myOwner->attackingHeroInstance; + targetHero.initFromHero(h, InfoAboutHero::EInfoLevel::INBATTLE); GH.pushInt(new CHeroInfoWindow(targetHero, &windowPosition)); } }