mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
uninitialized variables-verve
This commit is contained in:
parent
43259e29c1
commit
36cbc4c962
3 changed files with 12 additions and 7 deletions
|
|
@ -29,7 +29,9 @@ IMPLEMENT_CONOBJECT( VSpawnSphereSpawnTargetTrack );
|
|||
|
||||
VSpawnSphereSpawnTargetTrack::VSpawnSphereSpawnTargetTrack( void )
|
||||
{
|
||||
setLabel( "SpawnTargetTrack" );
|
||||
mDespawnOnStop = false;
|
||||
mDespawnOnLoop = false;
|
||||
setLabel( "SpawnTargetTrack" );
|
||||
}
|
||||
|
||||
void VSpawnSphereSpawnTargetTrack::initPersistFields( void )
|
||||
|
|
@ -152,4 +154,4 @@ void VSpawnSphereSpawnTargetTrack::despawnTargets( void )
|
|||
// Delete the Object.
|
||||
object->deleteObject();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ VActorPhysicsController::VActorPhysicsController( void ) :
|
|||
mControlState( k_NullControlState ),
|
||||
mMoveState( k_NullMove ),
|
||||
mVelocity( VectorF::Zero ),
|
||||
mGravity( 0.f, 0.f, -9.8f )
|
||||
mGravity( 0.f, 0.f, -9.8f ),
|
||||
mOnGround(false)
|
||||
{
|
||||
// Void.
|
||||
}
|
||||
|
|
@ -1274,4 +1275,4 @@ void VActorPhysicsController::unpackUpdate( NetConnection *pConnection, BitStrea
|
|||
// Apply.
|
||||
setPosition( position );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ private:
|
|||
public:
|
||||
|
||||
VPathEditorEditPathAction( const UTF8 *pName = "" ) :
|
||||
UndoAction( pName )
|
||||
UndoAction( pName ), mEditor(NULL), mPath(NULL)
|
||||
{
|
||||
// Void.
|
||||
};
|
||||
|
|
@ -218,9 +218,11 @@ private:
|
|||
public:
|
||||
|
||||
VPathEditorEditNodeAction( const UTF8 *pName = "" ) :
|
||||
UndoAction( pName )
|
||||
UndoAction( pName ), mEditor(NULL), mPath(NULL), mNodeIndex(0), mNodeWeight(0.0f)
|
||||
{
|
||||
// Void.
|
||||
mNodeOrientation.Type = VPathNode::k_OrientationFree;
|
||||
mNodeOrientation.Point = Point3F(0.0f, 0.0f, 0.0f);
|
||||
};
|
||||
|
||||
VPathEditor *mEditor;
|
||||
|
|
@ -290,4 +292,4 @@ namespace Utility
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#endif // _VT_VPATHEDITOR_H_
|
||||
#endif // _VT_VPATHEDITOR_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue