mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Don't try to orbit things that aren't there
This commit is contained in:
parent
4a7d2504b0
commit
6f616265c4
1 changed files with 1 additions and 1 deletions
|
|
@ -7243,7 +7243,7 @@ void K_RepairOrbitChain(mobj_t *orbit)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Then recount to make sure item amount is correct
|
// Then recount to make sure item amount is correct
|
||||||
if (orbit->target && orbit->target->player)
|
if (orbit->target && orbit->target->player && !P_MobjWasRemoved(orbit->target))
|
||||||
{
|
{
|
||||||
INT32 num = 0;
|
INT32 num = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue