mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 11:50:50 +00:00
Add null check too
This commit is contained in:
parent
6f3b10313f
commit
580e12a32a
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…
Reference in a new issue