mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 04:02:37 +00:00
Merge branch 'fake-bot-results-crash' into 'master'
Use mapobjectscale in K_FakeBotResults See merge request KartKrew/Kart!658
This commit is contained in:
commit
1e9b95e546
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ void K_RetireBots(void)
|
|||
--------------------------------------------------*/
|
||||
void K_FakeBotResults(player_t *bot)
|
||||
{
|
||||
const UINT32 distfactor = FixedMul(32 * bot->mo->scale, K_GetKartGameSpeedScalar(gamespeed)) / FRACUNIT;
|
||||
const UINT32 distfactor = FixedMul(32 * mapobjectscale, K_GetKartGameSpeedScalar(gamespeed)) / FRACUNIT;
|
||||
UINT32 worstdist = 0;
|
||||
tic_t besttime = UINT32_MAX;
|
||||
UINT8 numplayers = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue