- fixed: chickens in RRRA did not autoaim in hitscan-only mode.

since these are homing missiles they always need to acquire a target, regardless of autoaim mode.
This commit is contained in:
Christoph Oelckers 2022-09-15 01:05:42 +02:00
parent f307e22f4b
commit 1482052c8a

View file

@ -275,9 +275,13 @@ DDukeActor* aim(DDukeActor* actor, int aang)
{
weap = aplWeaponWorksLike(plr->curr_weapon, actor->spr.yvel);
}
if (weap > CHAINGUN_WEAPON || weap == KNEE_WEAPON)
// The chickens in RRRA are homing and must always autoaim.
if (!isRRRA() || plr->curr_weapon != CHICKEN_WEAPON)
{
return nullptr;
if (weap > CHAINGUN_WEAPON || weap == KNEE_WEAPON)
{
return nullptr;
}
}
}