uninitialized variables-t3d

This commit is contained in:
AzaezelX 2020-05-11 15:30:21 -05:00
parent 87603029db
commit fabd5864fa
27 changed files with 102 additions and 23 deletions

View file

@ -846,6 +846,7 @@ ParticleEmitterData::ParticleEmitterData(const ParticleEmitterData& other, bool
textureName = other.textureName;
textureHandle = other.textureHandle; // -- TextureHandle loads using textureName
highResOnly = other.highResOnly;
glow = other.glow;
renderReflection = other.renderReflection;
fade_color = other.fade_color;
fade_size = other.fade_size;
@ -965,7 +966,7 @@ ParticleEmitter::ParticleEmitter()
pos_pe.set(0,0,0);
sort_priority = 0;
mDataBlock = 0;
std::fill_n(sizes, ParticleData::PDC_NUM_KEYS, 0.0f);
#if defined(AFX_CAP_PARTICLE_POOLS)
pool = 0;
#endif