Merge branch 'splitshot-notarget-fix' into 'next'
A_SplitShot no target fix See merge request STJr/SRB2!956
This commit is contained in:
commit
747d784c77
|
@ -9707,6 +9707,9 @@ void A_SplitShot(mobj_t *actor)
|
||||||
if (LUA_CallAction("A_SplitShot", actor))
|
if (LUA_CallAction("A_SplitShot", actor))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!actor->target)
|
||||||
|
return;
|
||||||
|
|
||||||
A_FaceTarget(actor);
|
A_FaceTarget(actor);
|
||||||
{
|
{
|
||||||
const angle_t an = (actor->angle + ANGLE_90) >> ANGLETOFINESHIFT;
|
const angle_t an = (actor->angle + ANGLE_90) >> ANGLETOFINESHIFT;
|
||||||
|
|
Loading…
Reference in a new issue