Merge pull request #10713 from jackpoz/movement_fix
Core/Movement: Fix uninitialized MovementInfo fields
This commit is contained in:
commit
b3d5784d1f
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user