Fix paren placement SIGFPE

This commit is contained in:
AJ Martinez 2023-04-29 22:48:07 -07:00
parent 8a4ad078a3
commit 54ebe2571d

View file

@ -11652,7 +11652,7 @@ void P_RespawnSpecials(void)
}
else if (pcount > 1)
{
time = ((120 * TICRATE) / (((pcount - 1) * (pcount - 1)) / 3) + 1);
time = (120 * TICRATE) / ((((pcount - 1) * (pcount - 1)) / 3) + 1);
// If the map is longer or shorter than 3 laps, then adjust ring respawn to account for this.
// 5 lap courses would have more retreaded ground, while 2 lap courses would have less.