- Fixed: After loading a savegame or unmorphing, a player's weapon slots
were empty. SVN r1477 (trunk)
This commit is contained in:
parent
69c2c4de64
commit
7dd75670f4
6 changed files with 38 additions and 8 deletions
|
|
@ -499,7 +499,21 @@ void APlayerPawn::Tick()
|
|||
|
||||
void APlayerPawn::PostBeginPlay()
|
||||
{
|
||||
// If we're not a voodoo doll, set up our weapons.
|
||||
SetupWeaponSlots();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// APlayerPawn :: SetupWeaponSlots
|
||||
//
|
||||
// Sets up the default weapon slots for this player. If this is also the
|
||||
// local player, determines local modifications and sends those across the
|
||||
// network. Ignores voodoo dolls.
|
||||
//
|
||||
//===========================================================================
|
||||
|
||||
void APlayerPawn::SetupWeaponSlots()
|
||||
{
|
||||
if (player != NULL && player->mo == this)
|
||||
{
|
||||
player->weapons.StandardSetup(GetClass());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue