mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
uninitialized variables-t3d
This commit is contained in:
parent
87603029db
commit
fabd5864fa
27 changed files with 102 additions and 23 deletions
|
|
@ -238,6 +238,9 @@ ExplosionData::ExplosionData()
|
|||
explosionScale.set(1.0f, 1.0f, 1.0f);
|
||||
playSpeed = 1.0f;
|
||||
|
||||
explosionShape = NULL;
|
||||
explosionAnimation = -1;
|
||||
|
||||
dMemset( emitterList, 0, sizeof( emitterList ) );
|
||||
dMemset( emitterIDList, 0, sizeof( emitterIDList ) );
|
||||
dMemset( debrisList, 0, sizeof( debrisList ) );
|
||||
|
|
@ -924,6 +927,7 @@ Explosion::Explosion()
|
|||
ss_index = 0;
|
||||
mDataBlock = 0;
|
||||
soundProfile_clone = 0;
|
||||
mRandomVal = 0;
|
||||
}
|
||||
|
||||
Explosion::~Explosion()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue