mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
On higher gamespeeds, increase SPB target distance
This commit is contained in:
parent
afc474461f
commit
291eef55c4
1 changed files with 1 additions and 0 deletions
|
|
@ -661,6 +661,7 @@ static void SPBChase(mobj_t *spb, mobj_t *bestMobj)
|
||||||
|
|
||||||
baseSpeed = SPB_DEFAULTSPEED;
|
baseSpeed = SPB_DEFAULTSPEED;
|
||||||
range = (160 * chase->scale);
|
range = (160 * chase->scale);
|
||||||
|
range = max(range, FixedMul(range, K_GetKartGameSpeedScalar(gamespeed)));
|
||||||
|
|
||||||
// Play the intimidating gurgle
|
// Play the intimidating gurgle
|
||||||
if (S_SoundPlaying(spb, spb->info->activesound) == false)
|
if (S_SoundPlaying(spb, spb->info->activesound) == false)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue