Core/Movement: Corrected Animation Tier handling

Port From (https://github.com/TrinityCore/TrinityCore/commit/ee620856ad2918ae7ce91a37a980d9f2129a074a)
This commit is contained in:
hondacrx
2022-05-03 13:29:52 -04:00
parent c921160078
commit 42046011e7
11 changed files with 54 additions and 34 deletions
-4
View File
@@ -4149,9 +4149,6 @@ namespace Game.Entities
StopMirrorTimers(); //disable timers(bars)
// set and clear other
SetAnimTier(UnitBytes1Flags.AlwaysStand, false);
// OnPlayerRepop hook
Global.ScriptMgr.OnPlayerRepop(this);
}
@@ -4358,7 +4355,6 @@ namespace Game.Entities
// speed change, land walk
// remove death flag + set aura
SetAnimTier(UnitBytes1Flags.None, false);
RemovePlayerFlag(PlayerFlags.IsOutOfBounds);
// This must be called always even on Players with race != RACE_NIGHTELF in case of faction change