- 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

@ -6846,6 +6846,7 @@ AActor *P_SpawnPlayerMissile (AActor *source, double x, double y, double z,
{
return nullptr;
}
aimflags &= ~ALF_IGNORENOAUTOAIM; // just to be safe.
static const double angdiff[3] = { -5.625, 5.625, 0 };
DAngle an = angle;