From 8f69d147162c0b514792bdce23ed9c28fb76571a Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 31 Mar 2018 00:11:03 -0400 Subject: [PATCH 1/2] reset randmapbuffer in G_DeferedInitNew --- src/g_game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_game.c b/src/g_game.c index d6b3e8dd..a7491bac 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3971,6 +3971,9 @@ void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, U COM_BufAddText("stopdemo\n"); ghosts = NULL; + for (i = 0; i < NUMMAPS; i++) + randmapbuffer[i] = -1; // Reset this + // this leave the actual game if needed SV_StartSinglePlayerServer(); From 0f6c79d9834037eaf3fbbc92e7af4190dc96b209 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 31 Mar 2018 00:12:26 -0400 Subject: [PATCH 2/2] I'm a huge idiot --- src/g_game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index a7491bac..bca9be05 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3964,6 +3964,7 @@ void G_SaveGame(UINT32 savegameslot) // void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, UINT8 ssplayers, boolean FLS) { + INT32 i; UINT8 color = 0; paused = false; @@ -3972,7 +3973,7 @@ void G_DeferedInitNew(boolean pultmode, const char *mapname, INT32 pickedchar, U ghosts = NULL; for (i = 0; i < NUMMAPS; i++) - randmapbuffer[i] = -1; // Reset this + randmapbuffer[i] = -1; // this leave the actual game if needed SV_StartSinglePlayerServer();