mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix the minor issues since steel's busy
This commit is contained in:
parent
24ee3a5207
commit
211fd5be56
1 changed files with 4 additions and 2 deletions
|
|
@ -3916,13 +3916,15 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
||||||
F_StartTextPrompt(promptnum, pagenum, mo, runpostexec ? postexectag : 0, blockcontrols, freezerealtime);
|
F_StartTextPrompt(promptnum, pagenum, mo, runpostexec ? postexectag : 0, blockcontrols, freezerealtime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 460: // Award rings
|
case 460: // Award rings
|
||||||
{
|
{
|
||||||
INT16 rings = (sides[line->sidenum[0]].textureoffset>>FRACBITS);
|
INT16 rings = (sides[line->sidenum[0]].textureoffset>>FRACBITS);
|
||||||
tic_t delay = (sides[line->sidenum[0]].rowoffset>>FRACBITS);
|
INT32 delay = (sides[line->sidenum[0]].rowoffset>>FRACBITS);
|
||||||
if (mo && mo->player)
|
if (mo && mo->player)
|
||||||
{
|
{
|
||||||
if (delay <= 0 || !(leveltime % (delay)))
|
if (delay <= 0 || !(leveltime % delay))
|
||||||
P_GivePlayerRings(mo->player, rings);
|
P_GivePlayerRings(mo->player, rings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue