Reimplemented P_SetPsprite.
This commit is contained in:
parent
0b88bae458
commit
c9f4620702
14 changed files with 50 additions and 43 deletions
|
|
@ -1400,13 +1400,13 @@ void APlayerPawn::ActivateMorphWeapon ()
|
|||
}
|
||||
if (player->ReadyWeapon != nullptr)
|
||||
{
|
||||
player->GetPSprite(PSP_WEAPON)->SetState(player->ReadyWeapon->GetReadyState());
|
||||
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetReadyState());
|
||||
}
|
||||
}
|
||||
|
||||
if (player->ReadyWeapon != nullptr)
|
||||
{
|
||||
player->GetPSprite(PSP_FLASH)->SetState(nullptr);
|
||||
P_SetPsprite(player, PSP_FLASH, nullptr);
|
||||
}
|
||||
|
||||
player->PendingWeapon = WP_NOCHANGE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue