mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Disable attempt at preventing replays with the same staff member back to back, based on Discord discussion. If the RNG does this to you, you're on your own.
This commit is contained in:
parent
7be7c600bf
commit
5ccfc111e8
1 changed files with 7 additions and 1 deletions
|
@ -49,7 +49,9 @@ static tic_t stoptimer;
|
||||||
static boolean keypressed = false;
|
static boolean keypressed = false;
|
||||||
|
|
||||||
// (no longer) De-Demo'd Title Screen
|
// (no longer) De-Demo'd Title Screen
|
||||||
|
#if 0
|
||||||
static UINT8 laststaff = 0;
|
static UINT8 laststaff = 0;
|
||||||
|
#endif
|
||||||
static UINT32 demoDelayLeft;
|
static UINT32 demoDelayLeft;
|
||||||
static UINT32 demoIdleLeft;
|
static UINT32 demoIdleLeft;
|
||||||
|
|
||||||
|
@ -1034,6 +1036,8 @@ void F_TitleScreenTicker(boolean run)
|
||||||
numstaff = 1;
|
numstaff = 1;
|
||||||
while (numstaff < 100 && (l = W_CheckNumForName(va("%sS%02u",mapname,numstaff+1))) != LUMPERROR)
|
while (numstaff < 100 && (l = W_CheckNumForName(va("%sS%02u",mapname,numstaff+1))) != LUMPERROR)
|
||||||
numstaff++;
|
numstaff++;
|
||||||
|
|
||||||
|
#if 0 // turns out this isn't how we're gonna organise 'em
|
||||||
if (numstaff > 1)
|
if (numstaff > 1)
|
||||||
{
|
{
|
||||||
if (laststaff && laststaff <= numstaff) // don't do the same staff member twice in a row, even if they're on different maps
|
if (laststaff && laststaff <= numstaff) // don't do the same staff member twice in a row, even if they're on different maps
|
||||||
|
@ -1045,8 +1049,10 @@ void F_TitleScreenTicker(boolean run)
|
||||||
else
|
else
|
||||||
numstaff = M_RandomKey(numstaff)+1;
|
numstaff = M_RandomKey(numstaff)+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
laststaff = numstaff;
|
laststaff = numstaff;
|
||||||
|
#else
|
||||||
|
numstaff = M_RandomKey(numstaff)+1;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Setup demo name
|
// Setup demo name
|
||||||
snprintf(dname, 9, "%sS%02u", mapname, numstaff);
|
snprintf(dname, 9, "%sS%02u", mapname, numstaff);
|
||||||
|
|
Loading…
Reference in a new issue