Reimplemented P_SetPsprite.
This commit is contained in:
parent
0b88bae458
commit
c9f4620702
14 changed files with 50 additions and 43 deletions
|
|
@ -345,7 +345,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
player->mo->DamageType = NAME_None;
|
||||
if (player->ReadyWeapon != nullptr)
|
||||
{
|
||||
player->GetPSprite(PSP_WEAPON)->SetState(player->ReadyWeapon->GetUpState());
|
||||
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetUpState());
|
||||
}
|
||||
|
||||
if (player->morphTics > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue