Merge pull request #10713 from jackpoz/movement_fix

Core/Movement: Fix uninitialized MovementInfo fields
This commit is contained in:
Shauren
2013-09-03 14:10:40 -07:00

View File

@@ -450,7 +450,7 @@ struct MovementInfo
float splineElevation;
MovementInfo() :
guid(0), flags(0), flags2(0), time(0), pitch(0.0f)
guid(0), flags(0), flags2(0), time(0), pitch(0.0f), fallTime(0), splineElevation(0.0f)
{
pos.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
transport.Reset();