mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 16:52:16 +00:00
Merge branch 'die-less-hard' into 'master'
Don't clear respawn lap when dying (resolves #727) Closes #727 See merge request KartKrew/Kart!1571
This commit is contained in:
commit
9a315e7e8b
1 changed files with 5 additions and 0 deletions
|
|
@ -2054,6 +2054,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
INT32 kickstartaccel;
|
||||
INT32 checkpointId;
|
||||
boolean enteredGame;
|
||||
UINT8 lastsafelap;
|
||||
|
||||
roundconditions_t roundconditions;
|
||||
boolean saveroundconditions;
|
||||
|
|
@ -2161,6 +2162,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
exiting = 0;
|
||||
khudfinish = 0;
|
||||
cheatchecknum = 0;
|
||||
lastsafelap = 0;
|
||||
|
||||
saveroundconditions = false;
|
||||
tallyactive = false;
|
||||
|
|
@ -2207,6 +2209,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
memcpy(&roundconditions, &players[player].roundconditions, sizeof (roundconditions));
|
||||
saveroundconditions = true;
|
||||
|
||||
lastsafelap = players[player].lastsafelap;
|
||||
|
||||
tallyactive = players[player].tally.active;
|
||||
if (tallyactive)
|
||||
{
|
||||
|
|
@ -2275,6 +2279,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
p->spectator = spectator;
|
||||
p->steering = steering;
|
||||
p->angleturn = playerangleturn;
|
||||
p->lastsafelap = lastsafelap;
|
||||
|
||||
// save player config truth reborn
|
||||
p->skincolor = skincolor;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue