Revert "- re-added P_SetPSrite."

This reverts commit e6d89b9f71.
This commit is contained in:
Leonard2 2016-05-29 23:21:49 +02:00
parent d933f77bf5
commit 8668719bbc
15 changed files with 48 additions and 55 deletions

View file

@ -1001,8 +1001,8 @@ void AActor::ClearInventory()
{
player->ReadyWeapon = nullptr;
player->PendingWeapon = WP_NOCHANGE;
P_SetPsprite(player, PSP_WEAPON, nullptr);
P_SetPsprite(player, PSP_FLASH, nullptr);
player->GetPSprite(PSP_WEAPON)->SetState(nullptr);
player->GetPSprite(PSP_FLASH)->SetState(nullptr);
}
}