mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-05 22:42:54 +00:00
Adjust the finish line detection to exclude a handful of circumstances I've tripped before.
This commit is contained in:
parent
97e261f443
commit
84f277c323
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue