- Fixed a crash in the weapon code with missing player starts.

SVN r1471 (trunk)
This commit is contained in:
Christoph Oelckers 2009-03-11 00:42:04 +00:00
parent fcdab6a777
commit bc91192473

View file

@ -1139,6 +1139,8 @@ void FWeaponSlots::CompleteSetup(const PClass *type)
}
void P_CompleteWeaponSetup()
{
if (players[consoleplayer].mo != NULL)
{
// Set up the weapon slots locally
LocalWeapons.CompleteSetup(players[consoleplayer].mo->GetClass());
@ -1157,6 +1159,7 @@ void P_CompleteWeaponSetup()
}
}
}
}
//===========================================================================
//