- added an override for NOTAUTOAIMED flag when using P_AimLineAttack for informative CCMDs.

The flag is explicitly blocked for script use.
This commit is contained in:
Christoph Oelckers 2022-06-16 10:07:22 +02:00
commit de4627a477
6 changed files with 6 additions and 2 deletions

View file

@ -53,7 +53,7 @@ void C_PrintInfo(AActor *target, bool verbose)
void C_AimLine(FTranslatedLineTarget *t, bool nonshootable)
{
P_AimLineAttack(players[consoleplayer].mo,players[consoleplayer].mo->Angles.Yaw, MISSILERANGE, t, 0.,
(nonshootable) ? ALF_CHECKNONSHOOTABLE|ALF_FORCENOSMART : 0);
(nonshootable) ? ALF_CHECKNONSHOOTABLE|ALF_FORCENOSMART|ALF_IGNORENOAUTOAIM : ALF_IGNORENOAUTOAIM);
}
void C_PrintInv(AActor *target)