mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Guess what.
A typo. :V
This commit is contained in:
parent
ef0770edda
commit
a299222db7
1 changed files with 3 additions and 3 deletions
|
|
@ -3166,9 +3166,9 @@ INT16 G_RandMap(INT16 tolflags, INT16 pprevmap, boolean ignorebuffer)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ix = okmaps[P_RandomKey(numokmaps)];
|
ix = okmaps[P_RandomKey(numokmaps)];
|
||||||
/*for (bufx = NUMMAPS-4; bufx > 0; bufx--)
|
for (bufx = NUMMAPS-4; bufx > 0; bufx--)
|
||||||
randmapbuffer[bufx] = randmapbuffer[bufx-1];
|
randmapbuffer[bufx] = randmapbuffer[bufx-1];
|
||||||
randmapbuffer[0] = ix;*/
|
randmapbuffer[0] = ix;
|
||||||
}
|
}
|
||||||
|
|
||||||
Z_Free(okmaps);
|
Z_Free(okmaps);
|
||||||
|
|
@ -3296,7 +3296,7 @@ static void G_DoCompleted(void)
|
||||||
|
|
||||||
automapactive = false;
|
automapactive = false;
|
||||||
|
|
||||||
if (randmapbuffer[TOLMaps(G_TOLFlag(gametype))-4)] != -1) // filled up, so lets clear it
|
if (randmapbuffer[TOLMaps(G_TOLFlag(gametype))-4] != -1) // filled up, so lets clear it
|
||||||
{
|
{
|
||||||
for (i = 0; i < NUMMAPS-4; i++)
|
for (i = 0; i < NUMMAPS-4; i++)
|
||||||
randmapbuffer[i] = -1;
|
randmapbuffer[i] = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue