mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
fix garbage lines at the top of weapon sprites (#1377)
Make sure that the product of the weapon sprite scale factor
and its reciprocal is always at least FRACUNIT to
fix garbage lines at the top of weapon sprites.
See
b8aa0e7d8b
Fixes #1371
This commit is contained in:
parent
1a907867af
commit
6cccb75184
@ -509,7 +509,7 @@ void R_ExecuteSetViewSize (void)
|
||||
|
||||
// psprite scales
|
||||
pspritescale = FixedDiv(viewwidth_nonwide, SCREENWIDTH); // killough 11/98
|
||||
pspriteiscale= FixedDiv(SCREENWIDTH, viewwidth_nonwide); // killough 11/98
|
||||
pspriteiscale= FixedDiv(SCREENWIDTH, viewwidth_nonwide) + 1; // killough 11/98
|
||||
|
||||
// thing clipping
|
||||
for (i=0 ; i<viewwidth ; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user