mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- 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:
parent
f307e22f4b
commit
1482052c8a
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue