mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Restore duel score after true death
This commit is contained in:
parent
80c02ca6db
commit
a5790f0ce1
1 changed files with 7 additions and 0 deletions
|
|
@ -2269,6 +2269,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
UINT8 lastsafecheatcheck;
|
||||
UINT16 bigwaypointgap;
|
||||
|
||||
INT16 duelscore;
|
||||
|
||||
roundconditions_t roundconditions;
|
||||
boolean saveroundconditions;
|
||||
|
||||
|
|
@ -2433,6 +2435,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
lastsafelap = 0;
|
||||
lastsafecheatcheck = 0;
|
||||
bigwaypointgap = 0;
|
||||
duelscore = 0;
|
||||
|
||||
tallyactive = false;
|
||||
|
||||
|
|
@ -2494,6 +2497,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
}
|
||||
|
||||
cangrabitems = players[player].cangrabitems;
|
||||
|
||||
duelscore = players[player].duelscore;
|
||||
}
|
||||
|
||||
spectatorReentry = (betweenmaps ? 0 : players[player].spectatorReentry);
|
||||
|
|
@ -2598,6 +2603,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
p->gradingpointnum = gradingpointnum;
|
||||
p->totalring = totalring;
|
||||
|
||||
p->duelscore = duelscore;
|
||||
|
||||
for (i = 0; i < LAP__MAX; i++)
|
||||
{
|
||||
p->laptime[i] = laptime[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue