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.

This commit is contained in:
Jordon Moss 2020-06-02 18:18:01 -07:00 committed by Christoph Oelckers
parent dd8192ebbf
commit 10511c4fee

View file

@ -624,7 +624,6 @@ void P_ResetMultiPlayer(int playerNum)
s.pos = p.pos; s.pos = p.pos;
updatesector(p.pos.x, p.pos.y, &p.cursectnum);
setsprite(p.i, &tmpvect); setsprite(p.i, &tmpvect);
s.clipdist = 64; s.clipdist = 64;