mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 16:52:16 +00:00
See if cleaning the pointer here fixes shrink/eggbox syncbombs
This commit is contained in:
parent
9b4e10d5d7
commit
8b5bd645ca
1 changed files with 7 additions and 0 deletions
|
|
@ -4700,6 +4700,13 @@ void K_UpdateHnextList(player_t *player, boolean clean)
|
|||
|
||||
P_RemoveMobj(work);
|
||||
}
|
||||
|
||||
if (player->mo->hnext == NULL || P_MobjWasRemoved(player->mo->hnext))
|
||||
{
|
||||
// Like below, try to clean up the pointer if it's NULL.
|
||||
// Maybe this was a cause of the shrink/eggbox fails?
|
||||
P_SetTarget(&player->mo->hnext, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
// For getting hit!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue