mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 20:52:47 +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;
|
||||
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue