- 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
|
|
@ -1121,7 +1121,7 @@ void G_FinishTravel ()
|
|||
|
||||
// The player being spawned here is a short lived dummy and
|
||||
// must not start any ENTER script or big problems will happen.
|
||||
pawndup = P_SpawnPlayer (&playerstarts[pawn->player - players], true);
|
||||
pawndup = P_SpawnPlayer (&playerstarts[pawn->player - players], pawn->player - players, true);
|
||||
if (!(changeflags & CHANGELEVEL_KEEPFACING))
|
||||
{
|
||||
pawn->angle = pawndup->angle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue