mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix time-increment overlap in prisons
This commit is contained in:
parent
80a9b5c3ec
commit
be1ce929c7
1 changed files with 4 additions and 3 deletions
|
|
@ -1082,16 +1082,17 @@ static void P_AddBrokenPrison(mobj_t *target, mobj_t *inflictor, mobj_t *source)
|
|||
S_StartSound(NULL, sfx_s221);
|
||||
if (timelimitintics)
|
||||
{
|
||||
extratimeintics = 10*TICRATE;
|
||||
UINT16 bonustime = 10*TICRATE;
|
||||
|
||||
if (grandprixinfo.gp)
|
||||
{
|
||||
if (grandprixinfo.masterbots)
|
||||
extratimeintics = 8*TICRATE;
|
||||
bonustime = 8*TICRATE;
|
||||
else if (grandprixinfo.gamespeed == KARTSPEED_EASY)
|
||||
extratimeintics = 15*TICRATE;
|
||||
bonustime = 15*TICRATE;
|
||||
}
|
||||
|
||||
extratimeintics += bonustime;
|
||||
secretextratime = TICRATE/2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue