Skip to content

Fixed: a dummy player would be spawned behind if a morphed player dies and is forced to dead spectate in a gamemode with dead spectators.

Adam Kaminski requested to merge topic/default/morph-dummy-fix into branch/default

This addresses this ticket on the tracker: https://zandronum.com/tracker/view.php?id=2207

If a morphed player dies and turns into a dead spectator, they will leave behind a dummy player sprite instead of a corpse. I fixed this by not unmorphing the player until after they respawn (via the GAMEMODE_SpawnPlayer' call in PLAYER_SetSpectator`) and their corpse is no longer associated with them.

Merge request reports