Core/Units: Send PlayHoverAnim state in CreateObject if enabled by Unit::SetPlayHoverAnim
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e779a6f5955de96dc1baa2f48b1bb15ad9bc343)
This commit is contained in:
@@ -1611,8 +1611,12 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
void SendSetPlayHoverAnim(bool enable)
|
||||
public bool IsPlayingHoverAnim() { return _playHoverAnim; }
|
||||
|
||||
void SetPlayHoverAnim(bool enable)
|
||||
{
|
||||
_playHoverAnim = enable;
|
||||
|
||||
SetPlayHoverAnim data = new();
|
||||
data.UnitGUID = GetGUID();
|
||||
data.PlayHoverAnim = enable;
|
||||
|
||||
Reference in New Issue
Block a user