mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- removed unnecessary FLOAT2FIXED call in particle code.
This commit is contained in:
parent
4c8028d64b
commit
db2cef96d6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue