Skip to content

Commit

Permalink
- fixed: the powerup item for respawn invulnerability was never given…
Browse files Browse the repository at this point in the history
… to the player.
  • Loading branch information
coelckers committed Jan 6, 2022
1 parent 32de663 commit be103bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wadsrc/static/zscript/actors/player/player.zs
Expand Up @@ -254,6 +254,11 @@ class PlayerPawn : Actor
invul.EffectTics = 3 * TICRATE;
invul.BlendColor = 0; // don't mess with the view
invul.bUndroppable = true; // Don't drop self
if (!invul.CallTryPickup(self))
{
invul.Destroy();
return;
}
bRespawnInvul = true; // [RH] special effect
}
}
Expand Down

0 comments on commit be103bd

Please sign in to comment.