Total score starts at record score

Means there's actually feedback for how much score you got in the current level.
This commit is contained in:
Sally Coolatta 2023-08-02 11:31:05 -04:00
parent b7443cfa05
commit 33c7a930a7

View file

@ -2044,7 +2044,7 @@ static void Y_AwardCoopBonuses(void)
y_bonus_t localbonuses[4]; y_bonus_t localbonuses[4];
// set score/total first // set score/total first
data.coop.total = 0; data.coop.total = players[consoleplayer].recordscore;
data.coop.score = players[consoleplayer].score; data.coop.score = players[consoleplayer].score;
data.coop.gotperfbonus = -1; data.coop.gotperfbonus = -1;
memset(data.coop.bonuses, 0, sizeof(data.coop.bonuses)); memset(data.coop.bonuses, 0, sizeof(data.coop.bonuses));