Fixed incorrect scaling of particles

http://forum.zdoom.org/viewtopic.php?t=52906
This commit is contained in:
alexey.lysiuk 2016-07-24 14:25:31 +03:00
parent 41414830a5
commit 4345623e28

View file

@ -2505,7 +2505,7 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade,
if (x1 >= x2)
return;
yscale = xs_RoundToInt(YaspectMul * xscale);
yscale = YaspectMul * xscale;
ty = particle->Pos.Z - ViewPos.Z;
y1 = xs_RoundToInt(CenterY - (ty + psize) * yscale);
y2 = xs_RoundToInt(CenterY - (ty - psize) * yscale);