Call A_Face() directly from A_CustomBullletAttack
This commit is contained in:
parent
c13f1551e6
commit
d7d022144e
2 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue