mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
uninitialized variables-t3d
This commit is contained in:
parent
87603029db
commit
fabd5864fa
27 changed files with 102 additions and 23 deletions
|
|
@ -322,6 +322,7 @@ ConsoleDocClass( FlyingVehicle,
|
|||
|
||||
FlyingVehicle::FlyingVehicle()
|
||||
{
|
||||
mDataBlock = NULL;
|
||||
mSteering.set(0,0);
|
||||
mThrottle = 0;
|
||||
mJetting = false;
|
||||
|
|
@ -332,6 +333,10 @@ FlyingVehicle::FlyingVehicle()
|
|||
mBackMaintainOn = false;
|
||||
mBottomMaintainOn = false;
|
||||
createHeightOn = false;
|
||||
mCeilingFactor = 1.0f;
|
||||
mThrustDirection = FlyingVehicle::ThrustForward;
|
||||
for (U32 i=0;i< JetAnimCount;i++)
|
||||
mJetSeq[i] = -1;
|
||||
|
||||
for (S32 i = 0; i < JetAnimCount; i++)
|
||||
mJetThread[i] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue