mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Fixed uninitialized variables causing issues with other compilers.
This commit is contained in:
parent
0498236f68
commit
848dbd4d3d
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue