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:
toaster 2019-09-11 14:24:49 +01:00
parent fe7e374e3b
commit 10a0b38ab1
1 changed files with 2 additions and 1 deletions

View File

@ -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