From 43e447d40b4d592ab853d865a378181e1b925627 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Fri, 2 Oct 2020 17:05:50 +1000 Subject: [PATCH] - Duke: Fix auto-aiming issues for shotgun and chaingun. Fixes #98. --- 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 2a285996f..c800a9cf2 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -468,7 +468,7 @@ void shoot_d(int i, int atwith) } zvel += (zRange / 2) - (krand() & (zRange - 1)); } - else if (j == -1 || atwith != SHOTSPARK1) + else if (j == -1) { sa += 16 - (krand() & 31); zvel = (IntToFixed(100) - ps[p].getq16horizsum()) >> 11;