mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Duke: Bring displayrpg()
lambda inline with standard look offsets since we're using widescreen assets now.
This commit is contained in:
parent
7b3f8b0caf
commit
5935f860e4
1 changed files with 1 additions and 2 deletions
|
@ -362,8 +362,7 @@ void displayweapon_d(int snum, double interpfrac)
|
||||||
pin = ((gs.displayflags & DUKE3D_NO_WIDESCREEN_PINNING)) ? 0 : RS_ALIGN_R;
|
pin = ((gs.displayflags & DUKE3D_NO_WIDESCREEN_PINNING)) ? 0 : RS_ALIGN_R;
|
||||||
|
|
||||||
const auto xyoffset = BobVal(768 + (kickback_pic * 128.)) * 8;
|
const auto xyoffset = BobVal(768 + (kickback_pic * 128.)) * 8;
|
||||||
offsets.X = weapon_xoffset - xyoffset;
|
offsets.X += weapon_xoffset - xyoffset;
|
||||||
offsets.Y *= 2.;
|
|
||||||
offsets.Y -= gun_pos + xyoffset;
|
offsets.Y -= gun_pos + xyoffset;
|
||||||
|
|
||||||
if (*kb > 0)
|
if (*kb > 0)
|
||||||
|
|
Loading…
Reference in a new issue