mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 06:31: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
|
@ -1140,6 +1140,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());
|
||||
// Now transmit them across the network
|
||||
|
@ -1156,6 +1158,7 @@ void P_CompleteWeaponSetup()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Reference in a new issue