From 9b3137b2e6fba08db8a70816c0bcf7aaf766d99e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 29 Dec 2022 21:17:41 +1100 Subject: [PATCH] - Duke: Ensure that the expander hitscans when autoaim is "hitscan only". * Fixes #827. --- source/games/duke/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/player.cpp b/source/games/duke/src/player.cpp index f401d26e0..19f5e2dd8 100644 --- a/source/games/duke/src/player.cpp +++ b/source/games/duke/src/player.cpp @@ -274,7 +274,7 @@ DDukeActor* aim(DDukeActor* actor, int abase) // The chickens in RRRA are homing and must always autoaim. if (!isRRRA() || plr->curr_weapon != CHICKEN_WEAPON) { - if (weap > CHAINGUN_WEAPON || weap == KNEE_WEAPON) + if ((weap > CHAINGUN_WEAPON && weap != GROW_WEAPON) || weap == KNEE_WEAPON) { return nullptr; }