mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
- re-added P_SetPSprite.
For debugging purposes it's better to have this as a function.
This commit is contained in:
parent
f184438032
commit
e6d89b9f71
15 changed files with 55 additions and 48 deletions
|
@ -1001,8 +1001,8 @@ void AActor::ClearInventory()
|
|||
{
|
||||
player->ReadyWeapon = nullptr;
|
||||
player->PendingWeapon = WP_NOCHANGE;
|
||||
player->GetPSprite(ps_weapon)->SetState(nullptr);
|
||||
player->GetPSprite(ps_flash)->SetState(nullptr);
|
||||
P_SetPsprite(player, ps_weapon, nullptr);
|
||||
P_SetPsprite(player, ps_flash, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue