From a5e6e80c240899c034c257dd278a88f1f275993a Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 17 Oct 2022 10:46:37 +1100 Subject: [PATCH] - Duke: Fix RPG from excess recoiling. --- source/games/duke/src/hudweapon_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/hudweapon_d.cpp b/source/games/duke/src/hudweapon_d.cpp index f6d067849..73def1142 100644 --- a/source/games/duke/src/hudweapon_d.cpp +++ b/source/games/duke/src/hudweapon_d.cpp @@ -336,7 +336,7 @@ void displayweapon_d(int snum, double interpfrac) { 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) {