Convert r_playersprite to a class

This commit is contained in:
Magnus Norddahl 2017-01-11 18:35:20 +01:00
commit 48b4915f5b
5 changed files with 41 additions and 28 deletions

View file

@ -345,7 +345,7 @@ void R_SWRSetWindow(int windowSize, int fullWidth, int fullHeight, int stHeight,
WallTMapScale2 = IYaspectMul / CenterX;
// psprite scales
R_SetupPlayerSpriteScale();
RenderPlayerSprite::SetupSpriteScale();
// thing clipping
fillshort (screenheightarray, viewwidth, (short)viewheight);