1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix teleporting animation

This commit is contained in:
Ivan Savenko 2023-11-26 19:38:37 +02:00
parent 344d8891e4
commit d06ae15c6e

View File

@ -534,7 +534,7 @@ void BattleStacksController::stackMoved(const CStack *stack, std::vector<BattleH
addNewAnim(new MovementStartAnimation(owner, stack));
});
if (!stack->hasBonus(Selector::typeSubtype(BonusType::FLYING, BonusCustomSubtype::movementFlying)))
if (!stack->hasBonus(Selector::typeSubtype(BonusType::FLYING, BonusCustomSubtype::movementTeleporting)))
{
owner.addToAnimationStage(EAnimationEvents::MOVEMENT, [&]()
{