mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-duel-death' into 'master'
Restore duel score after true death Closes #1542 See merge request kart-krew-dev/ring-racers-internal!2608
This commit is contained in:
commit
75047a630d
1 changed files with 7 additions and 0 deletions
|
|
@ -2281,6 +2281,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
UINT8 lastsafecheatcheck;
|
||||
UINT16 bigwaypointgap;
|
||||
|
||||
INT16 duelscore;
|
||||
|
||||
roundconditions_t roundconditions;
|
||||
boolean saveroundconditions;
|
||||
|
||||
|
|
@ -2445,6 +2447,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
lastsafelap = 0;
|
||||
lastsafecheatcheck = 0;
|
||||
bigwaypointgap = 0;
|
||||
duelscore = 0;
|
||||
|
||||
tallyactive = false;
|
||||
|
||||
|
|
@ -2506,6 +2509,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
}
|
||||
|
||||
cangrabitems = players[player].cangrabitems;
|
||||
|
||||
duelscore = players[player].duelscore;
|
||||
}
|
||||
|
||||
spectatorReentry = (betweenmaps ? 0 : players[player].spectatorReentry);
|
||||
|
|
@ -2610,6 +2615,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