Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them

Port From (https://github.com/TrinityCore/TrinityCore/commit/43c7965d6b97a919ddd7e97a1f6e3f5750553f09)
This commit is contained in:
Hondacrx
2024-11-10 18:24:49 -05:00
parent bb76867477
commit be74f514a1
7 changed files with 226 additions and 23 deletions
+1
View File
@@ -23,6 +23,7 @@ namespace Game.Entities
//Movement
protected float[] m_speed_rate = new float[(int)UnitMoveType.Max];
float[] m_advFlyingSpeed = new float[(int)AdvFlyingRateTypeSingle.Max];
List<AbstractFollower> m_followingMe = new();
public MoveSpline MoveSpline { get; set; }
MotionMaster i_motionMaster;