mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 09:52:18 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue