Don't reset score when retrying

This commit is contained in:
Sally Coolatta 2020-05-13 05:21:35 -04:00
parent e51bceb567
commit 5c8275f905

View file

@ -2366,7 +2366,7 @@ void G_Ticker(boolean run)
} }
} }
D_MapChange(gamemap, gametype, (cv_kartencore.value == 1), true, 1, false, false); D_MapChange(gamemap, gametype, (cv_kartencore.value == 1), false, 1, false, false);
} }
for (i = 0; i < MAXPLAYERS; i++) for (i = 0; i < MAXPLAYERS; i++)
@ -4632,13 +4632,9 @@ void G_InitNew(UINT8 pencoremode, const char *mapname, boolean resetplayer, bool
players[i].marescore = 0; players[i].marescore = 0;
if (resetplayer && !(multiplayer && demo.playback)) // SRB2Kart if (resetplayer && !(multiplayer && demo.playback)) // SRB2Kart
{
players[i].score = 0;
if (grandprixinfo.roundnum == 0 || grandprixinfo.initalize == true)
{ {
players[i].lives = 3; players[i].lives = 3;
} players[i].score = 0;
} }
} }