Merge branch 'splitshot-notarget-fix' into 'next'

A_SplitShot no target fix

See merge request STJr/SRB2!956
This commit is contained in:
MascaraSnake 2020-05-23 07:52:36 -04:00
commit 747d784c77
1 changed files with 3 additions and 0 deletions

View File

@ -9707,6 +9707,9 @@ void A_SplitShot(mobj_t *actor)
if (LUA_CallAction("A_SplitShot", actor))
return;
if (!actor->target)
return;
A_FaceTarget(actor);
{
const angle_t an = (actor->angle + ANGLE_90) >> ANGLETOFINESHIFT;