This commit is contained in:
Christoph Oelckers 2014-12-04 09:37:47 +01:00
commit eaa82492e6
1 changed files with 2 additions and 1 deletions

View File

@ -4449,6 +4449,7 @@ APlayerPawn *P_SpawnPlayer (FPlayerStart *mthing, int playernum, int flags)
APowerup *invul = static_cast<APowerup*>(p->mo->GiveInventoryType (RUNTIME_CLASS(APowerInvulnerable))); APowerup *invul = static_cast<APowerup*>(p->mo->GiveInventoryType (RUNTIME_CLASS(APowerInvulnerable)));
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->ItemFlags |= IF_UNDROPPABLE; // Don't drop this
p->mo->effects |= FX_RESPAWNINVUL; // [RH] special effect p->mo->effects |= FX_RESPAWNINVUL; // [RH] special effect
} }