Make particles always square

This commit is contained in:
Magnus Norddahl 2016-12-25 08:08:01 +01:00
parent 08fd81802d
commit 5ec989d563

View file

@ -2567,7 +2567,7 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade,
if (x1 >= x2)
return;
yscale = YaspectMul * xscale;
yscale = xscale; // YaspectMul is not needed for particles as they should always be square
ty = particle->Pos.Z - ViewPos.Z;
y1 = xs_RoundToInt(CenterY - (ty + psize) * yscale);
y2 = xs_RoundToInt(CenterY - (ty - psize) * yscale);