From b2d5521d34c25a710a56c0c71761d57c076995ce Mon Sep 17 00:00:00 2001 From: Sryder Date: Sun, 16 Jun 2019 23:30:39 +0100 Subject: [PATCH] Finish Line linedef needs condition flipped for correct crossing of it. --- src/p_spec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index eb1190007..8522fdf9b 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2350,8 +2350,8 @@ void P_CrossSpecialLine(line_t *line, INT32 side, mobj_t *thing) { if (G_RaceGametype() && !(player->exiting)) { - if (((line->flags & (ML_NOCLIMB)) && (side == 1)) - || (!(line->flags & (ML_NOCLIMB)) && (side == 0))) // crossed from behind to infront + if (((line->flags & (ML_NOCLIMB)) && (side == 0)) + || (!(line->flags & (ML_NOCLIMB)) && (side == 1))) // crossed from behind to infront { K_HandleLapIncrement(player); }