- let player_t::Resurrect use P_BringUpWeapon to raise the weapon again instead of doing it directly.
This seems a bit safer.
This commit is contained in:
parent
9584e3bc53
commit
d8aa39e03e
3 changed files with 2 additions and 22 deletions
|
|
@ -690,7 +690,8 @@ bool player_t::Resurrect()
|
|||
}
|
||||
if (ReadyWeapon != nullptr)
|
||||
{
|
||||
P_SetPsprite(this, PSP_WEAPON, ReadyWeapon->GetUpState());
|
||||
PendingWeapon = ReadyWeapon;
|
||||
P_BringUpWeapon(this);
|
||||
}
|
||||
|
||||
if (morphTics)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue