mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
Scale item distances with map scale
This commit is contained in:
parent
2b6ca4a384
commit
d8e0bf61f6
1 changed files with 3 additions and 0 deletions
|
|
@ -1101,6 +1101,9 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd)
|
|||
}
|
||||
}
|
||||
|
||||
if (mapobjectscale != FRACUNIT)
|
||||
pdis = FixedDiv(pdis, mapobjectscale);
|
||||
|
||||
if (franticitems) // Frantic items make the distances between everyone artifically higher, for crazier items
|
||||
pdis = (15 * pdis) / 14;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue