mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Clear UFO pointer if its object was removed (matches up with general mobjthinker P_SetTarget handling)
This commit is contained in:
parent
44555be704
commit
39e68d1ae3
1 changed files with 5 additions and 0 deletions
|
|
@ -119,6 +119,11 @@ void K_TickSpecialStage(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (P_MobjWasRemoved(specialstageinfo.ufo))
|
||||
{
|
||||
P_SetTarget(&specialstageinfo.ufo, NULL);
|
||||
}
|
||||
|
||||
K_MoveExitBeam();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue