[8282] Correct typo in SetStoppedByPlayer() and it's related.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2009-07-31 12:53:51 +02:00
parent a56f9ea6de
commit 8e6386aac0
3 changed files with 10 additions and 10 deletions

View file

@ -74,7 +74,7 @@ class MANGOS_DLL_SPEC WaypointMovementGenerator<Creature>
public PathMovementBase<Creature, WaypointPath*>
{
public:
WaypointMovementGenerator(Creature &) : i_nextMoveTime(0), b_StopedByPlayer(false) {}
WaypointMovementGenerator(Creature &) : i_nextMoveTime(0), b_StoppedByPlayer(false) {}
~WaypointMovementGenerator() { ClearWaypoints(); }
void Initialize(Creature &u)
{
@ -86,7 +86,7 @@ public PathMovementBase<Creature, WaypointPath*>
void Reset(Creature &u)
{
ReloadPath(u);
b_StopedByPlayer = false;
b_StoppedByPlayer = false;
i_nextMoveTime.Reset(0);
}
bool Update(Creature &u, const uint32 &diff);
@ -100,8 +100,8 @@ public PathMovementBase<Creature, WaypointPath*>
void ReloadPath(Creature &c) { ClearWaypoints(); LoadPath(c); }
// Player stoping creature
bool IsStopedByPlayer() { return b_StopedByPlayer; }
void SetStopedByPlayer(bool val) { b_StopedByPlayer = val; }
bool IsStoppedByPlayer() { return b_StoppedByPlayer; }
void SetStoppedByPlayer(bool val) { b_StoppedByPlayer = val; }
// statics
static void Initialize(void);
@ -114,7 +114,7 @@ public PathMovementBase<Creature, WaypointPath*>
TimeTrackerSmall i_nextMoveTime;
std::vector<bool> i_hasDone;
bool b_StopedByPlayer;
bool b_StoppedByPlayer;
};
/** FlightPathMovementGenerator generates movement of the player for the paths