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:
parent
c729b831af
commit
814c6f2188
6 changed files with 81 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue