Flush random map pool after all but 3 are played

This commit is contained in:
TehRealSalt 2019-04-26 14:14:25 -04:00 committed by Sally Coolatta
parent ee1ea21336
commit 86754cf820

View file

@ -3647,7 +3647,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--)