From d404d20d695a2f82d0a16ec63c8c89b5fe2c9813 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 29 Jun 2026 14:40:43 +0200 Subject: [PATCH] clear deathmatch and ctf spawnpoints aswell prob wont matter much for us but still better to not leave those dangling after map change --- src/p_setup.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/p_setup.c b/src/p_setup.c index 6fcd561a8..b17d84b42 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -2572,6 +2572,13 @@ static void P_ResetSpawnpoints(void) for (i = 0; i < MAXPLAYERS; i++) { playerstarts[i] = NULL; + redctfstarts[i] = NULL; + bluectfstarts[i] = NULL; + } + + for (i = 0; i < MAX_DM_STARTS; i++) + { + deathmatchstarts[i] = NULL; } for (i = 0; i < 2; i++)