- Duke: Fix RPG from excess recoiling.

This commit is contained in:
Mitchell Richters 2022-10-17 10:46:37 +11:00 committed by Christoph Oelckers
parent 3233a25e3a
commit a5e6e80c24

View file

@ -336,7 +336,7 @@ void displayweapon_d(int snum, double interpfrac)
{ {
const int pin = ((gs.displayflags & DUKE3D_NO_WIDESCREEN_PINNING)) ? 0 : RS_ALIGN_R; const int pin = ((gs.displayflags & DUKE3D_NO_WIDESCREEN_PINNING)) ? 0 : RS_ALIGN_R;
offsets -= BobVal(768 + (kickback_pic * 128.)) * 8; offsets -= BobVal(512 + (min(kickback_pic, 16.) * 128.)) * 8;
if (*kb > 0) if (*kb > 0)
{ {