Flush random map pool after all but 3 are played

This commit is contained in:
TehRealSalt authored and Sally Coolatta committed 2020-08-27 14:32:44 -04:00
1 parent ee1ea21336
commit 86754cf820
1 file changed
+1 -1
+1 -1
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--)