- Duke: Bring displayrpg() lambda inline with standard look offsets since we're using widescreen assets now.

This commit is contained in:
Mitchell Richters 2022-10-13 16:41:14 +11:00 committed by Christoph Oelckers
parent 7b3f8b0caf
commit 5935f860e4

View file

@ -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)