Adjust the finish line detection to exclude a handful of circumstances I've tripped before.

This commit is contained in:
toaster 2020-05-22 21:34:05 +01:00
parent 97e261f443
commit 84f277c323

View file

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