From 848dbd4d3d7688e6f7aaef0891d48d0df1db1942 Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Mon, 20 Nov 2023 11:57:06 -0600 Subject: [PATCH] Fixed uninitialized variables causing issues with other compilers. --- src/rendering/hwrenderer/scene/hw_sprites.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rendering/hwrenderer/scene/hw_sprites.cpp b/src/rendering/hwrenderer/scene/hw_sprites.cpp index 548cd5ad20..1e02fe4432 100644 --- a/src/rendering/hwrenderer/scene/hw_sprites.cpp +++ b/src/rendering/hwrenderer/scene/hw_sprites.cpp @@ -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;