mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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)
|
if (player != NULL)
|
||||||
{
|
{
|
||||||
PlayPickupSound (player.mo);
|
PlayPickupSound (player.mo);
|
||||||
if (!bNoScreenFlash)
|
if (!bNoScreenFlash && player.playerstate != PST_DEAD)
|
||||||
{
|
{
|
||||||
player.bonuscount = BONUSADD;
|
player.bonuscount = BONUSADD;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue