Merge branch 'world-tour' into 'master'

Flush random map pool after all but 3 are played

See merge request KartKrew/Kart!170
This commit is contained in:
Sal 2019-09-27 03:07:04 -04:00
commit a313e4c33e

View file

@ -3643,7 +3643,7 @@ tryagain:
void G_AddMapToBuffer(INT16 map)
{
INT16 bufx, refreshnum = (TOLMaps(G_TOLFlag(gametype)) / 2) + 1;
INT16 bufx, refreshnum = max(0, TOLMaps(G_TOLFlag(gametype))-3);
// Add the map to the buffer.
for (bufx = NUMMAPS-1; bufx > 0; bufx--)