mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable EXP in K_Cooperative
- HUD, tally, and roulette(!!) - In basegame, affects Sealed Stars
This commit is contained in:
parent
396244780a
commit
2104b0b0f5
2 changed files with 6 additions and 1 deletions
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue