From 10511c4feeff197937fbda40af13d031ff607da2 Mon Sep 17 00:00:00 2001 From: Jordon Moss Date: Tue, 2 Jun 2020 18:18:01 -0700 Subject: [PATCH] Fix bad call to updatesector in G_CollectSpawnPoints that broke spawns in overlapping sectors and TROR. p->cursectnum should equal the sprite's sectnum on initial spawn. --- source/duke3d/src/premap.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/duke3d/src/premap.cpp b/source/duke3d/src/premap.cpp index 73a3cdf1b..14d1945b3 100644 --- a/source/duke3d/src/premap.cpp +++ b/source/duke3d/src/premap.cpp @@ -624,7 +624,6 @@ void P_ResetMultiPlayer(int playerNum) s.pos = p.pos; - updatesector(p.pos.x, p.pos.y, &p.cursectnum); setsprite(p.i, &tmpvect); s.clipdist = 64;