- Added a read barrier to player_t::PrewmorphWeapon.

- Fixed: After spawning a deathmatch player P_PlayerStartStomp must
  be called.
- Fixed: SpawnThings must check if the players were spawned before
  calling P_PlayerStartStomp.


SVN r1038 (trunk)
This commit is contained in:
Christoph Oelckers 2008-06-15 23:09:01 +00:00
commit 7a215e538a
5 changed files with 17 additions and 6 deletions

View file

@ -1492,7 +1492,7 @@ void P_SpawnThings (int position)
}
for(int i=0; i<MAXPLAYERS; i++)
{
if (playeringame[i])
if (playeringame[i] && players[i].mo != NULL)
P_PlayerStartStomp(players[i].mo);
}
}