Fix game crashing when using P_DoPlayerExit on player without mobj
This commit is contained in:
1 parent
d601975597
commit
a7d6c0994f
1 file changed
+1
-1
+1
-1
@@ -1210,7 +1210,7 @@ void P_DoPlayerExit(player_t *player)
|
||||
player->exiting = raceexittime+2;
|
||||
K_KartUpdatePosition(player);
|
||||
|
||||
if (cv_kartvoices.value)
|
||||
if (!P_MobjWasRemoved(player->mo) && cv_kartvoices.value)
|
||||
{
|
||||
if (P_IsLocalPlayer(player))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user