- Duke: Ensure that the expander hitscans when autoaim is "hitscan only".

* Fixes #827.
This commit is contained in:
Mitchell Richters 2022-12-29 21:17:41 +11:00
parent 205dac85e6
commit 1d69ebe9b0

View file

@ -276,7 +276,7 @@ DDukeActor* aim(DDukeActor* actor, int abase)
// The chickens in RRRA are homing and must always autoaim. // The chickens in RRRA are homing and must always autoaim.
if (!isRRRA() || plr->curr_weapon != CHICKEN_WEAPON) 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; return nullptr;
} }