Compare commits
3 Commits
opengl-may
...
v1.2-patch
Author | SHA1 | Date |
---|---|---|
Vivian Lim | 63a97a2bca | |
Vivian Lim | 6ccbc4b602 | |
Vivian Lim | 0c9664db9e |
|
@ -21,3 +21,5 @@ Win32_LIB_ASM_Release
|
|||
/.vs
|
||||
/debian
|
||||
/assets/debian
|
||||
assets
|
||||
bin
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
env SRB2WADDIR=$(pwd)/assets/installer/ bin/Linux64/Release/lsdl2srb2kart -file bonuschars.kart +map map11 -opengl
|
10
src/g_game.c
10
src/g_game.c
|
@ -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,14 @@ tryagain:
|
|||
else
|
||||
ix = okmaps[M_RandomKey(numokmaps)];
|
||||
|
||||
//hack: don't pick any of these maps
|
||||
// map numbering seems to start at 0, -1 here
|
||||
// not sure if this actually works
|
||||
if (ix == 35 // Kodachrome Void
|
||||
|| ix == 33 ){ // cloud cradle zone
|
||||
goto tryagain;
|
||||
}
|
||||
|
||||
if (!callagainsoon)
|
||||
{
|
||||
Z_Free(okmaps);
|
||||
|
|
Loading…
Reference in New Issue