mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
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:
parent
d812c2997c
commit
dd8192ebbf
1 changed files with 1 additions and 1 deletions
|
@ -1495,7 +1495,7 @@ static void G_CollectSpawnPoints(int gameMode)
|
|||
|
||||
p.oq16ang = p.q16ang = fix16_from_int(s.ang);
|
||||
|
||||
updatesector(s.x, s.y, &p.cursectnum);
|
||||
p.cursectnum = s.sectnum;
|
||||
|
||||
pindex++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue