From 4345623e284ba6a169768026565b98acb1df8d28 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 24 Jul 2016 14:25:31 +0300 Subject: [PATCH] Fixed incorrect scaling of particles http://forum.zdoom.org/viewtopic.php?t=52906 --- 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 9bca7cc1a..3d2133398 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -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);