- added weapon bobbing interpolation.
This was so ridiculously simple that I really fail to understand why the previous attempt was so overcomplicated that it just failed for that.
This commit is contained in:
parent
7f23a91488
commit
7ebb961917
3 changed files with 65 additions and 59 deletions
|
|
@ -1579,7 +1579,7 @@ void R_DrawPlayerSprites ()
|
|||
centery = viewheight >> 1;
|
||||
centeryfrac = centery << FRACBITS;
|
||||
|
||||
P_BobWeapon (camera->player, &camera->player->psprites[ps_weapon], &ofsx, &ofsy);
|
||||
P_BobWeapon (camera->player, &camera->player->psprites[ps_weapon], &ofsx, &ofsy, r_TicFracF);
|
||||
|
||||
// add all active psprites
|
||||
for (i = 0, psp = camera->player->psprites;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue