I continue to be a buffoon.
This commit is contained in:
parent
7d021ae1e6
commit
7da0ff595e
|
@ -3204,10 +3204,13 @@ INT16 G_RandMap(INT16 tolflags, INT16 pprevmap, boolean dontadd, boolean ignoreb
|
|||
else
|
||||
{
|
||||
ix = okmaps[M_RandomKey(numokmaps)];
|
||||
if (!dontadd)
|
||||
{
|
||||
for (bufx = NUMMAPS; bufx > 0; bufx--)
|
||||
randmapbuffer[bufx] = randmapbuffer[bufx-1];
|
||||
randmapbuffer[0] = ix;
|
||||
}
|
||||
}
|
||||
|
||||
Z_Free(okmaps);
|
||||
|
||||
|
|
Loading…
Reference in New Issue