- Fixed: player_t::GetSpawnClass() always returned the spawn flags for the
local player, so co-op games would spawn only the things relevant for the local player and not all the things relevant for all players. SVN r344 (trunk)
This commit is contained in:
parent
fa2fc3f4d7
commit
c0bd4e54f4
3 changed files with 20 additions and 3 deletions
|
|
@ -351,7 +351,7 @@ void player_s::SetLogText (const char *text)
|
|||
|
||||
int player_t::GetSpawnClass()
|
||||
{
|
||||
const PClass * type = PlayerClasses[players[consoleplayer].CurrentPlayerClass].Type;
|
||||
const PClass * type = PlayerClasses[CurrentPlayerClass].Type;
|
||||
return static_cast<APlayerPawn*>(GetDefaultByType(type))->SpawnMask;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue