Skip to content

Commit

Permalink
Fixed uninitialized variables causing issues with other compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorCooke authored and madame-rachelle committed Nov 21, 2023
1 parent 0498236 commit 848dbd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rendering/hwrenderer/scene/hw_sprites.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,9 @@ void HWSprite::ProcessParticle (HWDrawInfo *di, particle_t *particle, sector_t *
float yvf = (particle->Vel.Y) * timefrac;
float zvf = (particle->Vel.Z) * timefrac;

offx = 0.f;
offy = 0.f;

x = float(particle->Pos.X) + xvf;
y = float(particle->Pos.Y) + yvf;
z = float(particle->Pos.Z) + zvf;
Expand Down

0 comments on commit 848dbd4

Please sign in to comment.