From 84f277c3239d7e6d23aeab62c31c9213b10148ac Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 22 May 2020 21:34:05 +0100 Subject: [PATCH] Adjust the finish line detection to exclude a handful of circumstances I've tripped before. --- src/p_spec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_spec.c b/src/p_spec.c index 0c75051ad..82dad34a6 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2209,7 +2209,8 @@ static void K_HandleLapDecrement(player_t *player) void P_CrossSpecialLine(line_t *line, INT32 side, mobj_t *thing) { // only used for the players currently - if (thing && thing->player) + if (!(thing && thing->player && !thing->player->spectator && !(thing->player->pflags & PF_TIMEOVER))) + return; { player_t *player = thing->player; switch (line->special)