mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-24 23:46:16 +00:00
Kill an overlay if the target is removed between P_AddOverlay and P_RunOverlays.
This commit is contained in:
parent
beecd72a22
commit
51ffa6d5ea
1 changed files with 7 additions and 0 deletions
|
|
@ -6499,6 +6499,13 @@ void P_RunOverlays(void)
|
|||
|
||||
if (!mo->target)
|
||||
continue;
|
||||
|
||||
if (P_MobjWasRemoved(mo->target))
|
||||
{
|
||||
P_RemoveMobj(mo);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!splitscreen /*&& rendermode != render_soft*/)
|
||||
{
|
||||
angle_t viewingangle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue