mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -14,6 +14,5 @@ class TargetedMovementGeneratorBase;
|
||||
|
||||
class FollowerRefManager : public RefManager<Unit, TargetedMovementGeneratorBase>
|
||||
{
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -93,7 +93,6 @@ private:
|
||||
}
|
||||
void InitTop();
|
||||
public:
|
||||
|
||||
explicit MotionMaster(Unit* unit) : _expList(nullptr), _top(-1), _owner(unit), _cleanFlag(MMCF_NONE)
|
||||
{
|
||||
for (uint8 i = 0; i < MAX_MOTION_SLOT; ++i)
|
||||
|
||||
@@ -60,7 +60,6 @@ void ConfusedMovementGenerator<T>::DoInitialize(T* unit)
|
||||
i_waypoints[idx][2] = idx > 0 ? i_waypoints[idx - 1][2] : z;
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -18,7 +18,6 @@ template <>
|
||||
class HomeMovementGenerator<Creature> : public MovementGeneratorMedium< Creature, HomeMovementGenerator<Creature> >
|
||||
{
|
||||
public:
|
||||
|
||||
HomeMovementGenerator() : arrived(false), i_recalculateTravel(false) {}
|
||||
~HomeMovementGenerator() {}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
class IdleMovementGenerator : public MovementGenerator
|
||||
{
|
||||
public:
|
||||
|
||||
void Initialize(Unit*) override;
|
||||
void Finalize(Unit*) override { }
|
||||
void Reset(Unit*) override;
|
||||
|
||||
@@ -100,7 +100,6 @@ class PathGenerator
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
dtPolyRef _pathPolyRefs[MAX_PATH_LENGTH]; // array of detour polygon references
|
||||
uint32 _polyLength; // number of polygons in the path
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ public:
|
||||
void LoadPath(Creature*);
|
||||
|
||||
private:
|
||||
|
||||
void Stop(int32 time) { i_nextMoveTime.Reset(time);}
|
||||
|
||||
bool Stopped() { return !i_nextMoveTime.Passed();}
|
||||
|
||||
@@ -59,7 +59,6 @@ namespace Movement
|
||||
class MoveSplineInit
|
||||
{
|
||||
public:
|
||||
|
||||
explicit MoveSplineInit(Unit* m);
|
||||
|
||||
/* Final pass of initialization that launches spline movement.
|
||||
@@ -147,7 +146,6 @@ namespace Movement
|
||||
*/
|
||||
void DisableTransportPathTransformations();
|
||||
protected:
|
||||
|
||||
MoveSplineInitArgs args;
|
||||
Unit* unit;
|
||||
};
|
||||
|
||||
@@ -24,7 +24,6 @@ namespace Movement
|
||||
{
|
||||
static void WriteCommonMonsterMovePart(const MoveSpline& mov, ByteBuffer& data);
|
||||
public:
|
||||
|
||||
static void WriteMonsterMove(const MoveSpline& mov, ByteBuffer& data);
|
||||
static void WriteStopMovement(Vector3 const& loc, uint32 splineId, ByteBuffer& data);
|
||||
static void WriteCreate(const MoveSpline& mov, ByteBuffer& data);
|
||||
|
||||
@@ -78,7 +78,6 @@ namespace Movement
|
||||
void UninitializedSplineInitMethod(Vector3 const*, index_type, bool, index_type) { ABORT(); }
|
||||
|
||||
public:
|
||||
|
||||
explicit SplineBase() {}
|
||||
|
||||
/** Caclulates the position for given segment Idx, and percent of segment length t
|
||||
@@ -133,12 +132,10 @@ namespace Movement
|
||||
typedef length_type LengthType;
|
||||
typedef std::vector<length_type> LengthArray;
|
||||
protected:
|
||||
|
||||
LengthArray lengths;
|
||||
|
||||
[[nodiscard]] index_type computeIndexInBounds(length_type length) const;
|
||||
public:
|
||||
|
||||
explicit Spline() = default;
|
||||
|
||||
/** Calculates the position for given t
|
||||
|
||||
@@ -145,6 +145,5 @@ void WaypointMgr::ReloadPath(uint32 id)
|
||||
wp->event_chance = fields[8].GetUInt8();
|
||||
|
||||
path.push_back(wp);
|
||||
|
||||
} while (result->NextRow());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user