mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Always update ufo_pieces if possible
This commit is contained in:
parent
df96c633bc
commit
5461abb022
1 changed files with 8 additions and 8 deletions
|
|
@ -688,16 +688,16 @@ void Obj_UFOPieceRemoved(mobj_t *piece)
|
|||
&ufo_piece_prev(next),
|
||||
(prev != NULL && P_MobjWasRemoved(prev) == false) ? prev : NULL
|
||||
);
|
||||
}
|
||||
|
||||
if (ufo != NULL && P_MobjWasRemoved(ufo) == false)
|
||||
if (ufo != NULL && P_MobjWasRemoved(ufo) == false)
|
||||
{
|
||||
if (piece == ufo_pieces(ufo))
|
||||
{
|
||||
if (piece == ufo_pieces(ufo))
|
||||
{
|
||||
P_SetTarget(
|
||||
&ufo_pieces(ufo),
|
||||
next
|
||||
);
|
||||
}
|
||||
P_SetTarget(
|
||||
&ufo_pieces(ufo),
|
||||
(next != NULL && P_MobjWasRemoved(next) == false) ? next : NULL
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue