Renderer floatification: Restore playersprite rendering
This commit is contained in:
parent
ec8d038c99
commit
4a1cc61822
3 changed files with 22 additions and 22 deletions
|
|
@ -386,9 +386,9 @@ void R_SWRSetWindow(int windowSize, int fullWidth, int fullHeight, int stHeight,
|
|||
WallTMapScale2 = IYaspectMul * (1 << 18) / CenterX;
|
||||
|
||||
// psprite scales
|
||||
pspritexscale = (centerxwide << FRACBITS) / 160;
|
||||
pspriteyscale = FLOAT2FIXED(pspritexscale * YaspectMul);
|
||||
pspritexiscale = FixedDiv(FRACUNIT, pspritexscale);
|
||||
pspritexscale = centerxwide / 160.0;
|
||||
pspriteyscale = pspritexscale * YaspectMul;
|
||||
pspritexiscale = 1 / pspritexscale;
|
||||
|
||||
// thing clipping
|
||||
clearbufshort (screenheightarray, viewwidth, (short)viewheight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue