- SW: Don't call DoSpawnTeleporterEffect() upon death.

* This causes an air bubble to spawn above the player for a single tic, even while on land until the level truly restarts.
* Since we're restarting, its better to just not do this.
This commit is contained in:
Mitchell Richters 2022-12-11 14:32:15 +11:00 committed by Christoph Oelckers
parent 9b73f46aff
commit b8a8164b24

View file

@ -6009,7 +6009,7 @@ void DoPlayerDeathCheckKeys(PLAYER* pp)
plActor->spr.picnum = plActor->user.State->Pic;
plActor->spr.cstat &= ~(CSTAT_SPRITE_YCENTER);
DoSpawnTeleporterEffect(plActor);
//DoSpawnTeleporterEffect(plActor);
PlaySound(DIGI_TELEPORT, pp, v3df_none);
DoPlayerZrange(pp);