From db2cef96d676c948ef4b646f7501ed4099cc8e5b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 11 Jun 2016 23:43:07 +0200 Subject: [PATCH] - removed unnecessary FLOAT2FIXED call in particle code. --- src/r_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.cpp b/src/r_things.cpp index 427e61b065..6524498e1f 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -2463,7 +2463,7 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade, return; yscale = xs_RoundToInt(YaspectMul * xscale); - ty = FLOAT2FIXED(particle->Pos.Z - ViewPos.Z); + ty = particle->Pos.Z - ViewPos.Z; y1 = xs_RoundToInt(CenterY - (ty + psize) * yscale); y2 = xs_RoundToInt(CenterY - (ty - psize) * yscale);