From 148927bb9d598cc11bc996e3c348a8ddb814ff75 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 25 Nov 2015 12:08:20 +0000 Subject: [PATCH] Restrict the right-edge widescreen clamping of the Pistol reload and Freezer to Duke Nukem 3D only: NAM and WWII GI don't need it. git-svn-id: https://svn.eduke32.com/eduke32@5449 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index 9223e1e59..d5823878e 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -2463,7 +2463,7 @@ void P_DisplayWeapon(void) break; } - if (!(duke3d_globalflags & DUKE3D_NO_WIDESCREEN_PINNING)) + if (!(duke3d_globalflags & DUKE3D_NO_WIDESCREEN_PINNING) && DUKE) o |= 512; if ((*kb) < PWEAPON(screenpeek, PISTOL_WEAPON, Reload)-17) @@ -2580,7 +2580,7 @@ void P_DisplayWeapon(void) if (VM_OnEvent(EVENT_DRAWWEAPON,g_player[screenpeek].ps->i,screenpeek)) break; - if (!(duke3d_globalflags & DUKE3D_NO_WIDESCREEN_PINNING)) + if (!(duke3d_globalflags & DUKE3D_NO_WIDESCREEN_PINNING) && DUKE) o |= 512; if ((*kb) < (PWEAPON(screenpeek, p->curr_weapon, TotalTime)+1) && (*kb) > 0)