- make weapon sprite offsets floats.

This commit is contained in:
Christoph Oelckers 2016-03-21 01:16:34 +01:00
commit 2d2eeb49f0
9 changed files with 23 additions and 25 deletions

View file

@ -1590,7 +1590,7 @@ void R_DrawPlayerSprites ()
// [RH] Don't draw the targeter's crosshair if the player already has a crosshair set.
if (psp->state && (i != ps_targetcenter || CrosshairImage == NULL))
{
R_DrawPSprite (psp, i, camera, psp->sx + ofsx, psp->sy + ofsy);
R_DrawPSprite (psp, i, camera, FLOAT2FIXED(psp->sx) + ofsx, FLOAT2FIXED(psp->sy) + ofsy);
}
// [RH] Don't bob the targeter.
if (i == ps_flash)