From 5935f860e4f60d7009977d89a5278a9b637c96af Mon Sep 17 00:00:00 2001 From: Mitchell Richters <mjr4077au@gmail.com> Date: Thu, 13 Oct 2022 16:41:14 +1100 Subject: [PATCH] - Duke: Bring `displayrpg()` lambda inline with standard look offsets since we're using widescreen assets now. --- source/games/duke/src/hudweapon_d.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/games/duke/src/hudweapon_d.cpp b/source/games/duke/src/hudweapon_d.cpp index 510dbf525..647592a50 100644 --- a/source/games/duke/src/hudweapon_d.cpp +++ b/source/games/duke/src/hudweapon_d.cpp @@ -362,8 +362,7 @@ void displayweapon_d(int snum, double interpfrac) pin = ((gs.displayflags & DUKE3D_NO_WIDESCREEN_PINNING)) ? 0 : RS_ALIGN_R; const auto xyoffset = BobVal(768 + (kickback_pic * 128.)) * 8; - offsets.X = weapon_xoffset - xyoffset; - offsets.Y *= 2.; + offsets.X += weapon_xoffset - xyoffset; offsets.Y -= gun_pos + xyoffset; if (*kb > 0)