From 166e7335ff614e364cc9c2412e67d9b6eb119967 Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Tue, 25 Nov 2025 17:54:38 +0100 Subject: [PATCH] Fix respawning on the floor in legacy checkpoint mode --- src/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_inter.c b/src/p_inter.c index bddd11064..b85d10523 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -989,7 +989,7 @@ void P_TouchStarPost(mobj_t *post, player_t *player, boolean snaptopost) //player->starposttime = leveltime; player->starpostx = toucher->x; player->starposty = toucher->y; - player->starpostz = post->z; + player->starpostz = toucher->eflags & MFE_VERTICALFLIP ? toucher->ceilingz : toucher->floorz;//post->z; player->starpostangle = post->angle; player->starpostflip = post->spawnpoint->options & MTF_OBJECTFLIP; // store flipping }