- fixed: sprite clipping did not work anymore because the 'invalid' value was inconsistent.

- cleaned up the 'if' condition in PerformSpriteClipAdjustment,
- enabled weapon bobbing interpolation.
This commit is contained in:
Christoph Oelckers 2016-04-07 14:09:07 +02:00
commit 4af859094c
2 changed files with 11 additions and 10 deletions

View file

@ -202,7 +202,7 @@ void FGLRenderer::DrawPlayerSprites(sector_t * viewsector, bool hudModelStep)
(r_deathcamera && camera->health <= 0))
return;
P_BobWeapon (player, &player->psprites[ps_weapon], &ofsx, &ofsy);
P_BobWeapon (player, &player->psprites[ps_weapon], &ofsx, &ofsy, r_TicFracF);
// check for fullbright
if (player->fixedcolormap==NOFIXEDCOLORMAP)