- fixed: the powerup item for respawn invulnerability was never given to the player.

This commit is contained in:
Christoph Oelckers 2022-01-07 00:39:22 +01:00
parent 32de663210
commit be103bd9dc

View file

@ -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
}
}