- Added MAPINFO flag "SpawnWithWeaponRaised".
SVN r4013 (trunk)
This commit is contained in:
parent
549712e719
commit
787c338871
8 changed files with 19 additions and 17 deletions
|
|
@ -989,7 +989,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AInventory, A_Light)
|
|||
//
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
void P_SetupPsprites(player_t *player)
|
||||
void P_SetupPsprites(player_t *player, bool startweaponup)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
@ -999,7 +999,7 @@ void P_SetupPsprites(player_t *player)
|
|||
player->psprites[i].state = NULL;
|
||||
}
|
||||
// Spawn the ready weapon
|
||||
player->PendingWeapon = player->ReadyWeapon;
|
||||
player->PendingWeapon = !startweaponup ? player->ReadyWeapon : WP_NOCHANGE;
|
||||
P_BringUpWeapon (player);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue