From 3c2c53c7e187ce97b85c77a7e7eb0fd75a52afd2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 8 Jan 2022 21:42:44 +0100 Subject: [PATCH] - fixed NAM's sniper rifle. This was using one of WW2GI's apl* variables, but shouldn't. --- source/games/duke/src/player_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index ec3b58091..fe1c2480a 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -2446,7 +2446,7 @@ static void operateweapon(int snum, ESyncBits actions) //#endif } else if (!isNam()) p->kickback_pic++; - if (isNam() && p->kickback_pic > aplWeaponReload(p->curr_weapon, snum)) // 30) + if (isNam() && p->kickback_pic > 30) { // reload now... p->okickback_pic = p->kickback_pic = 0;