aboutsummaryrefslogtreecommitdiff
path: root/src/game/WaypointMovementGenerator.h
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-31 10:46:43 -0600
committermegamage <none@none>2008-12-31 10:46:43 -0600
commit8a9a9f88cc67f22a4f06463df01d7681fd9c81ff (patch)
tree8d9a74528614c7d8a9446b0ddf8fdcdc9b7af6e5 /src/game/WaypointMovementGenerator.h
parent3885ce94d9be86616bb01e660a70087fcbfc6ffd (diff)
*Fix the crash bug of waypoint movement.
--HG-- branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.h')
-rw-r--r--src/game/WaypointMovementGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WaypointMovementGenerator.h b/src/game/WaypointMovementGenerator.h
index 899c55a5925..e9c806a4f7d 100644
--- a/src/game/WaypointMovementGenerator.h
+++ b/src/game/WaypointMovementGenerator.h
@@ -67,7 +67,7 @@ class TRINITY_DLL_SPEC WaypointMovementGenerator
{
public:
WaypointMovementGenerator(uint32 _path_id = 0, bool _repeating = true) :
- i_nextMoveTime(0), path_id(_path_id), repeating(_repeating), StopedByPlayer(false){}
+ i_nextMoveTime(0), path_id(_path_id), repeating(_repeating), StopedByPlayer(false), node(NULL) {}
void Initialize(T &);
void Finalize(T &);