mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix an issue where completing a stage normally would not correctly set startrings for the next one (as opposed to warping directly or dying inside it).
This commit is contained in:
parent
fe7e374e3b
commit
10a0b38ab1
1 changed files with 2 additions and 1 deletions
|
@ -2242,7 +2242,7 @@ static void P_LevelInitStuff(void)
|
|||
}
|
||||
|
||||
// obliteration station...
|
||||
players[i].rings = players[i].spheres =\
|
||||
players[i].spheres =\
|
||||
players[i].xtralife = players[i].deadtimer =\
|
||||
players[i].numboxes = players[i].totalring =\
|
||||
players[i].laps = players[i].aiming =\
|
||||
|
@ -2267,6 +2267,7 @@ static void P_LevelInitStuff(void)
|
|||
|
||||
// aha, the first evidence this shouldn't be a memset!
|
||||
players[i].drillmeter = 40*20;
|
||||
players[i].rings = (ultimatemode ? 0 : mapheaderinfo[gamemap-1]->startrings);
|
||||
|
||||
P_ResetPlayer(&players[i]);
|
||||
// hit these too
|
||||
|
|
Loading…
Reference in a new issue