diff --git a/src/objects/ring-shooter.c b/src/objects/ring-shooter.c index 3150cf16f..c9812a6b8 100644 --- a/src/objects/ring-shooter.c +++ b/src/objects/ring-shooter.c @@ -63,8 +63,11 @@ static void RemoveRingShooterPointer(mobj_t *base) } // NULL the player's pointer. - player = &players[ rs_base_playerid(base) ]; - P_SetTarget(&player->ringShooter, NULL); + if (playeringame[ rs_base_playerid(base) ]) + { + player = &players[ rs_base_playerid(base) ]; + P_SetTarget(&player->ringShooter, NULL); + } // Remove our player ID rs_base_playerid(base) = -1;