Call A_Face() directly from A_CustomBullletAttack

This commit is contained in:
Randy Heit 2014-12-23 21:30:24 -06:00
commit d7d022144e
2 changed files with 3 additions and 6 deletions

View file

@ -1082,9 +1082,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomBulletAttack)
{
if (!(Flags & CBAF_AIMFACING))
{
if (ref == self->target) A_FaceTarget(self);
else if (ref == self->master) A_FaceMaster(self);
else if (ref == self->tracer) A_FaceTracer(self);
A_Face(self, ref);
}
bangle = self->angle;