mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- fixed: pickup flash didn't fade out if player was killed by pickup
https://forum.zdoom.org/viewtopic.php?t=66135
This commit is contained in:
parent
c45e8b32d0
commit
89ecd7a964
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ class Inventory : Actor
|
|||
if (player != NULL)
|
||||
{
|
||||
PlayPickupSound (player.mo);
|
||||
if (!bNoScreenFlash)
|
||||
if (!bNoScreenFlash && player.playerstate != PST_DEAD)
|
||||
{
|
||||
player.bonuscount = BONUSADD;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue