- removed unnecessary FLOAT2FIXED call in particle code.

This commit is contained in:
Christoph Oelckers 2016-06-11 23:43:07 +02:00
parent 4c8028d64b
commit db2cef96d6

View file

@ -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);