mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
fix
This commit is contained in:
@ -1416,10 +1416,16 @@ CBattleInterface::PossibleActions CBattleInterface::getCasterAction(const CSpell
|
||||
void CBattleInterface::setHeroAnimation(ui8 side, int phase)
|
||||
{
|
||||
if(side == BattleSide::ATTACKER)
|
||||
{
|
||||
if(attackingHero)
|
||||
attackingHero->setPhase(phase);
|
||||
}
|
||||
else
|
||||
{
|
||||
if(defendingHero)
|
||||
defendingHero->setPhase(phase);
|
||||
}
|
||||
}
|
||||
|
||||
void CBattleInterface::castThisSpell(SpellID spellID)
|
||||
{
|
||||
|
Reference in New Issue
Block a user