Fix the minor issues since steel's busy
This commit is contained in:
parent
39f348f853
commit
f3baac8577
|
@ -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…
Reference in New Issue