mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
uninitialized variables-t3d
This commit is contained in:
parent
87603029db
commit
fabd5864fa
27 changed files with 102 additions and 23 deletions
|
|
@ -311,6 +311,11 @@ PlayerData::PlayerData()
|
|||
jumpEnergyDrain = 0.0f;
|
||||
minJumpEnergy = 0.0f;
|
||||
jumpSurfaceAngle = 78.0f;
|
||||
jumpSurfaceCos = mCos(mDegToRad(jumpSurfaceAngle));
|
||||
|
||||
for (U32 i = 0; i < NumRecoilSequences; i++)
|
||||
recoilSequence[i] = -1;
|
||||
|
||||
jumpDelay = 30;
|
||||
minJumpSpeed = 500.0f;
|
||||
maxJumpSpeed = 2.0f * minJumpSpeed;
|
||||
|
|
@ -370,6 +375,9 @@ PlayerData::PlayerData()
|
|||
|
||||
actionCount = 0;
|
||||
lookAction = 0;
|
||||
dMemset(spineNode, 0, sizeof(spineNode));
|
||||
|
||||
pickupDelta = 0.0f;
|
||||
|
||||
// size of bounding box
|
||||
boxSize.set(1.0f, 1.0f, 2.3f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue