fix(Core/Unit): Recalculate run speed on dismount from taxi flight. (#25936)
This commit is contained in:
parent
34a5902e04
commit
e1beea25e9
1 changed files with 2 additions and 0 deletions
|
|
@ -10618,6 +10618,8 @@ void Unit::Dismount()
|
||||||
if (charm->IsCreature() && !charm->HasUnitState(UNIT_STATE_STUNNED))
|
if (charm->IsCreature() && !charm->HasUnitState(UNIT_STATE_STUNNED))
|
||||||
charm->RemoveUnitFlag(UNIT_FLAG_STUNNED);
|
charm->RemoveUnitFlag(UNIT_FLAG_STUNNED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UpdateSpeed(MOVE_RUN, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unit::SetImmuneToPC(bool apply, bool keepCombat)
|
void Unit::SetImmuneToPC(bool apply, bool keepCombat)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue