Fixed uninitialized variables causing issues with other compilers.

This commit is contained in:
Major Cooke 2023-11-20 11:57:06 -06:00 committed by Rachael Alexanderson
parent 0498236f68
commit 848dbd4d3d

View file

@ -1368,6 +1368,9 @@ void HWSprite::ProcessParticle (HWDrawInfo *di, particle_t *particle, sector_t *
float yvf = (particle->Vel.Y) * timefrac; float yvf = (particle->Vel.Y) * timefrac;
float zvf = (particle->Vel.Z) * timefrac; float zvf = (particle->Vel.Z) * timefrac;
offx = 0.f;
offy = 0.f;
x = float(particle->Pos.X) + xvf; x = float(particle->Pos.X) + xvf;
y = float(particle->Pos.Y) + yvf; y = float(particle->Pos.Y) + yvf;
z = float(particle->Pos.Z) + zvf; z = float(particle->Pos.Z) + zvf;