Merge pull request #162 from Azaezel/alph40_cleanups

Alph40 cleanups -uninitialized vars batch 1
This commit is contained in:
Areloch 2020-05-17 01:19:55 -05:00 committed by GitHub
commit b14a4af654
278 changed files with 982 additions and 401 deletions

View file

@ -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()