mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 06:33:14 +00:00
Merge branch 'spb-gamespeed' into 'master'
On higher gamespeeds, increase SPB target distance See merge request KartKrew/Kart!1323
This commit is contained in:
commit
0b3af82879
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