mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
Fixed incorrect scaling of particles
http://forum.zdoom.org/viewtopic.php?t=52906
This commit is contained in:
parent
41414830a5
commit
4345623e28
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue