- 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 7583793511
commit 9b3137b2e6

View file

@ -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;
}