mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
I continue to be a buffoon.
This commit is contained in:
parent
71572b94d1
commit
e4d380d2ad
1 changed files with 6 additions and 3 deletions
|
|
@ -3204,9 +3204,12 @@ INT16 G_RandMap(INT16 tolflags, INT16 pprevmap, boolean dontadd, boolean ignoreb
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ix = okmaps[M_RandomKey(numokmaps)];
|
ix = okmaps[M_RandomKey(numokmaps)];
|
||||||
for (bufx = NUMMAPS; bufx > 0; bufx--)
|
if (!dontadd)
|
||||||
randmapbuffer[bufx] = randmapbuffer[bufx-1];
|
{
|
||||||
randmapbuffer[0] = ix;
|
for (bufx = NUMMAPS; bufx > 0; bufx--)
|
||||||
|
randmapbuffer[bufx] = randmapbuffer[bufx-1];
|
||||||
|
randmapbuffer[0] = ix;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Z_Free(okmaps);
|
Z_Free(okmaps);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue