Talk:Deathmatch start

TFOG sprite
Player starts (deathmatch or single/coop) do not have any associated mobj type. When a player respawns (in deathmatch or coop) and you see a TFOG sprite, it's not the player start that you see -- it's an MT_FOG mobj spawned at the same place, same as when a teleport happens. If you look at the map with the map cheat on, you can see there is an additional object spawned at the position of the player start. See G_CheckSpot in g_game.c. This function is called by both G_DoReborn (used for respawning players in coop) and G_DeathMatchSpawnPlayer (which does what its name implies). Yeah, conceptually, the "check" function shouldn't do the corpse flushing, fog spawning, and sound playing stuff: if it's supposed to be a check function, it shouldn't have any side effect. At least it doesn't have any side effect when it returns false. Anyway, my point was that player starts are map things without a corresponding mobj (while players themselves are mobjs without a corresponding map thing) so the player starts are never seen. --Gez 10:11, 24 March 2014 (UTC)