mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'noplaybackmedals' into 'master'
demo.playback guard Closes #567 See merge request KartKrew/Kart!1307
This commit is contained in:
commit
571fe1a903
1 changed files with 18 additions and 15 deletions
|
|
@ -1464,7 +1464,9 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
|||
}
|
||||
}
|
||||
|
||||
if (modeattacking)
|
||||
if (demo.playback == false)
|
||||
{
|
||||
if (modeattacking == true)
|
||||
{
|
||||
G_UpdateRecords();
|
||||
}
|
||||
|
|
@ -1484,12 +1486,13 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
|||
}
|
||||
}
|
||||
|
||||
player->karthud[khud_cardanimation] = 0; // srb2kart: reset battle animation
|
||||
|
||||
if (player == &players[consoleplayer])
|
||||
demo.savebutton = leveltime;
|
||||
}
|
||||
|
||||
player->karthud[khud_cardanimation] = 0; // srb2kart: reset battle animation
|
||||
}
|
||||
|
||||
//
|
||||
// P_DoAllPlayersExit
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue