mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
Finish Line linedef needs condition flipped for correct crossing of it.
This commit is contained in:
parent
d96c90acc8
commit
b2d5521d34
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue