remove chance of picking a map hell map, as well as kodachrome void.

this also removes them from the multiplayer vote screen
This commit is contained in:
Vivian Lim 2020-09-06 16:17:55 -07:00
parent 0c9664db9e
commit 6ccbc4b602
1 changed files with 6 additions and 1 deletions

View File

@ -3548,7 +3548,7 @@ INT16 G_RandMap(INT16 tolflags, INT16 pprevmap, boolean ignorebuffer, UINT8 maph
tryagain:
usehellmaps = (maphell == 0 ? false : (maphell == 2 || M_RandomChance(FRACUNIT/100))); // 1% chance of Hell
usehellmaps = false; // no map hell
// Find all the maps that are ok and and put them in an array.
for (ix = 0; ix < NUMMAPS; ix++)
@ -3636,6 +3636,11 @@ tryagain:
else
ix = okmaps[M_RandomKey(numokmaps)];
//hack: don't pick any of these maps
if (ix == 35){ // Kodachrome Void
goto tryagain;
}
if (!callagainsoon)
{
Z_Free(okmaps);