From 45891ac22f4f80be77686ffade68e0efb0948b97 Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 12 Mar 2023 20:53:46 +0000 Subject: [PATCH] G_GetNextMap: Go to TEST RUN when the next Race map in a GP is invalid Resolves #366 --- 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 3a1280347..c406addd6 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3980,7 +3980,7 @@ static void G_GetNextMap(void) } else { - nextmap = prevmap; // Prevent uninitialised use + nextmap = 0; // Prevent uninitialised use -- go to TEST RUN, it's very obvious } grandprixinfo.roundnum++;