mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
Add null check too
This commit is contained in:
parent
60b952ea2a
commit
5e8236c74f
1 changed files with 1 additions and 1 deletions
|
|
@ -1979,7 +1979,7 @@ static void K_RemoveGrowShrink(player_t *player)
|
|||
{
|
||||
player->kartstuff[k_growshrinktimer] = 0;
|
||||
|
||||
if (!P_MobjWasRemoved(player->mo))
|
||||
if (player->mo && !P_MobjWasRemoved(player->mo))
|
||||
{
|
||||
if (player->kartstuff[k_invincibilitytimer] == 0)
|
||||
player->mo->color = player->skincolor;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue