mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -199,7 +199,7 @@ namespace Movement
|
||||
args.flags.flying = unit->m_movementInfo.HasMovementFlag((MovementFlags)(MOVEMENTFLAG_CAN_FLY | MOVEMENTFLAG_DISABLE_GRAVITY));
|
||||
}
|
||||
|
||||
void MoveSplineInit::SetFacing(const Unit* target)
|
||||
void MoveSplineInit::SetFacing(Unit const* target)
|
||||
{
|
||||
args.flags.EnableFacingTarget();
|
||||
args.facing.target = target->GetGUID().GetRawValue();
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Movement
|
||||
*/
|
||||
void SetFacing(float angle);
|
||||
void SetFacing(Vector3 const& point);
|
||||
void SetFacing(const Unit* target);
|
||||
void SetFacing(Unit const* target);
|
||||
|
||||
/* Initializes movement by path
|
||||
* @param path - array of points, shouldn't be empty
|
||||
|
||||
Reference in New Issue
Block a user