Scale item distances with map scale

This commit is contained in:
Sally Cochenour 2020-03-08 00:26:33 -05:00
parent 2b6ca4a384
commit d8e0bf61f6

View file

@ -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;