mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-03 06:11:03 +00:00
- fixed: the powerup item for respawn invulnerability was never given to the player.
This commit is contained in:
parent
32de663210
commit
be103bd9dc
1 changed files with 5 additions and 0 deletions
|
@ -254,6 +254,11 @@ class PlayerPawn : Actor
|
||||||
invul.EffectTics = 3 * TICRATE;
|
invul.EffectTics = 3 * TICRATE;
|
||||||
invul.BlendColor = 0; // don't mess with the view
|
invul.BlendColor = 0; // don't mess with the view
|
||||||
invul.bUndroppable = true; // Don't drop self
|
invul.bUndroppable = true; // Don't drop self
|
||||||
|
if (!invul.CallTryPickup(self))
|
||||||
|
{
|
||||||
|
invul.Destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
bRespawnInvul = true; // [RH] special effect
|
bRespawnInvul = true; // [RH] special effect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue