- 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:
parent
fd784b05c2
commit
390fd5dd6c
5 changed files with 10 additions and 42 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue