From 28ee38258751966c74f5de6da3e78a5e4c02e0da Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 23 Jan 2022 20:40:59 +0000 Subject: [PATCH] ok this was supposed to be here --- src/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index f54b3e981..4a8a03c33 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3382,7 +3382,7 @@ tryagain: void G_AddMapToBuffer(INT16 map) { - INT16 bufx, refreshnum = max(0, TOLMaps(G_TOLFlag(gametype))-3); + INT16 bufx, refreshnum = max(0, ((INT32)TOLMaps(G_TOLFlag(gametype)))-3); // Add the map to the buffer. for (bufx = NUMMAPS-1; bufx > 0; bufx--)