mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 16:07:45 +00:00
- Fixed a crash in the weapon code with missing player starts.
SVN r1471 (trunk)
This commit is contained in:
parent
fcdab6a777
commit
bc91192473
1 changed files with 13 additions and 10 deletions
|
@ -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()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue