mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Line 460: animate rings, toggle ring boost cap
Uses K_AwardPlayerRings so rings can be overloaded.
This commit is contained in:
parent
f6a445c281
commit
58b9b00e8e
1 changed files with 5 additions and 1 deletions
|
|
@ -3641,7 +3641,11 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (delay <= 0 || !(leveltime % delay))
|
if (delay <= 0 || !(leveltime % delay))
|
||||||
P_GivePlayerRings(mo->player, rings);
|
{
|
||||||
|
// No Climb: don't cap rings to 20
|
||||||
|
K_AwardPlayerRings(mo->player, rings,
|
||||||
|
(line->flags & ML_NOCLIMB) == ML_NOCLIMB);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue