mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Make them commit harder to turning
- Removed the "minor adjustment" threshold, since that was done before global easing - Removed the "accel + brake to slowdown and reorient yourself if you're facing too far away from the track" bit, because 1.) it was done before accel + brake was turned into EBrake (so it now often makes them come to a STOP instead of simply slowing down) and 2.) turning harshly will slow them down anyway, so maybe isn't necessary
This commit is contained in:
parent
0588227da1
commit
07d5691b73
1 changed files with 0 additions and 12 deletions
12
src/k_bot.c
12
src/k_bot.c
|
|
@ -1120,18 +1120,6 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
|
||||||
// Don't turn at all
|
// Don't turn at all
|
||||||
turnamt = 0;
|
turnamt = 0;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
// Make minor adjustments
|
|
||||||
turnamt /= 4;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (anglediff > 60)
|
|
||||||
{
|
|
||||||
// Actually, don't go too fast...
|
|
||||||
cmd->forwardmove /= 2;
|
|
||||||
cmd->buttons |= BT_BRAKE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue