Disable EXP in K_Cooperative

- HUD, tally, and roulette(!!)
- In basegame, affects Sealed Stars
This commit is contained in:
toaster 2024-09-09 15:02:21 +01:00 committed by Ashnal
parent 396244780a
commit 2104b0b0f5
2 changed files with 6 additions and 1 deletions

View file

@ -15262,6 +15262,9 @@ UINT16 K_GetDisplayEXP(player_t *player)
UINT32 K_GetNumGradingPoints(void) UINT32 K_GetNumGradingPoints(void)
{ {
if (K_Cooperative())
return 0;
return numlaps * (1 + Obj_GetCheckpointCount()); return numlaps * (1 + Obj_GetCheckpointCount());
} }

View file

@ -1380,8 +1380,10 @@ void K_FillItemRouletteData(const player_t *player, itemroulette_t *const roulet
roulette->preexpdist = K_GetItemRouletteDistance(player, roulette->playing); roulette->preexpdist = K_GetItemRouletteDistance(player, roulette->playing);
roulette->dist = roulette->preexpdist; roulette->dist = roulette->preexpdist;
if (gametyperules & GTR_CIRCUIT) if ((gametyperules & GTR_CIRCUIT) && !K_Cooperative())
{
roulette->dist = FixedMul(roulette->preexpdist, max(player->exp, FRACUNIT/2)); roulette->dist = FixedMul(roulette->preexpdist, max(player->exp, FRACUNIT/2));
}
// =============================================================================== // ===============================================================================
// Dynamic Roulette. Oh boy! // Dynamic Roulette. Oh boy!