- Pass playernum as a parameter to P_SpawnPlayer(). Now P_SpawnMapThing() is the only thing

that uses the MapThing's type to determine the which player is spawning.

SVN r3748 (trunk)
This commit is contained in:
Randy Heit 2012-07-07 22:52:37 +00:00
commit 390fd5dd6c
5 changed files with 10 additions and 42 deletions

View file

@ -310,7 +310,7 @@ static void SpawnExtraPlayers ()
if (playeringame[i] && players[i].mo == NULL)
{
players[i].playerstate = PST_ENTER;
P_SpawnPlayer (&playerstarts[i]);
P_SpawnPlayer(&playerstarts[i], i);
}
}
}