mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bring back strong rubberbands now that they can properly predict
This commit is contained in:
parent
6b3e7c8e16
commit
6846d7c3a1
2 changed files with 4 additions and 8 deletions
|
|
@ -169,7 +169,7 @@ fixed_t K_BotRubberband(player_t *player)
|
|||
if (wanteddist < player->distancetofinish)
|
||||
{
|
||||
// Catch up to 1st!
|
||||
rubberband = FRACUNIT + ((3*player->botvars.difficulty/2) * (player->distancetofinish - wanteddist));
|
||||
rubberband = FRACUNIT + ((2*player->botvars.difficulty) * (player->distancetofinish - wanteddist));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -177,9 +177,9 @@ fixed_t K_BotRubberband(player_t *player)
|
|||
{
|
||||
rubberband = 2*FRACUNIT;
|
||||
}
|
||||
else if (rubberband < FRACUNIT)
|
||||
else if (rubberband < 7*FRACUNIT/8)
|
||||
{
|
||||
rubberband = FRACUNIT;
|
||||
rubberband = 7*FRACUNIT/8;
|
||||
}
|
||||
|
||||
return rubberband;
|
||||
|
|
|
|||
|
|
@ -2718,11 +2718,7 @@ fixed_t K_GetKartSpeed(player_t *player, boolean doboostpower)
|
|||
{
|
||||
fixed_t rubberband = K_BotRubberband(player);
|
||||
|
||||
if (rubberband > 3*FRACUNIT/2)
|
||||
{
|
||||
rubberband = 3*FRACUNIT/2;
|
||||
}
|
||||
else if (rubberband < FRACUNIT)
|
||||
if (rubberband < FRACUNIT)
|
||||
{
|
||||
rubberband = FRACUNIT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue