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;