mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'harder-hard-gp' into 'master'
Hard GP continue delevel 2 -> 1 See merge request KartKrew/Kart!2025
This commit is contained in:
commit
77f895e943
1 changed files with 6 additions and 1 deletions
|
|
@ -1804,7 +1804,12 @@ void G_Ticker(boolean run)
|
||||||
{
|
{
|
||||||
if (players[i].bot == true && grandprixinfo.gp == true && grandprixinfo.masterbots == false)
|
if (players[i].bot == true && grandprixinfo.gp == true && grandprixinfo.masterbots == false)
|
||||||
{
|
{
|
||||||
const UINT8 bot_level_decrease = (grandprixinfo.gamespeed == KARTSPEED_EASY) ? 3 : 2;
|
UINT8 bot_level_decrease = 2;
|
||||||
|
|
||||||
|
if (grandprixinfo.gamespeed == KARTSPEED_EASY)
|
||||||
|
bot_level_decrease = 3;
|
||||||
|
else if (grandprixinfo.gamespeed == KARTSPEED_HARD)
|
||||||
|
bot_level_decrease = 1;
|
||||||
|
|
||||||
if (players[i].botvars.difficulty <= bot_level_decrease)
|
if (players[i].botvars.difficulty <= bot_level_decrease)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue