mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Fix teleporting animation
This commit is contained in:
@ -534,7 +534,7 @@ void BattleStacksController::stackMoved(const CStack *stack, std::vector<BattleH
|
|||||||
addNewAnim(new MovementStartAnimation(owner, stack));
|
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, [&]()
|
owner.addToAnimationStage(EAnimationEvents::MOVEMENT, [&]()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user