Added MF9_SHADOWAIMVERT.

This flag causes the vertical aiming of monsters to also be affected when they aim at shadow actors.
This commit is contained in:
inkoalawetrust 2023-01-17 00:44:17 +02:00 committed by Rachael Alexanderson
commit 814c6f2188
6 changed files with 81 additions and 13 deletions

View file

@ -3019,10 +3019,11 @@ void A_Face(AActor *self, AActor *other, DAngle max_turn, DAngle max_pitch, DAng
self->Angles.Pitch = other_pitch;
}
self->Angles.Pitch += pitch_offset;
A_Face_ShadowHandling(self, other, max_pitch, other_pitch, true);
}
A_Face_ShadowHandling(self,other,max_turn,other_angle);
A_Face_ShadowHandling(self,other,max_turn,other_angle,false);
}
void A_FaceTarget(AActor *self)