mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Higher bot level decrease on retry
This commit is contained in:
parent
8eee6bd87c
commit
b70e72fc75
1 changed files with 10 additions and 4 deletions
14
src/g_game.c
14
src/g_game.c
|
|
@ -1813,14 +1813,20 @@ void G_Ticker(boolean run)
|
|||
{
|
||||
if (playeringame[i])
|
||||
{
|
||||
if (players[i].bot == true && grandprixinfo.gp == true && grandprixinfo.masterbots == false)
|
||||
if (players[i].bot == true
|
||||
&& grandprixinfo.gp == true
|
||||
&& grandprixinfo.masterbots == false)
|
||||
{
|
||||
UINT8 bot_level_decrease = 2;
|
||||
UINT8 bot_level_decrease = 3;
|
||||
|
||||
if (grandprixinfo.gamespeed == KARTSPEED_EASY)
|
||||
bot_level_decrease = 3;
|
||||
{
|
||||
bot_level_decrease++;
|
||||
}
|
||||
else if (grandprixinfo.gamespeed == KARTSPEED_HARD)
|
||||
bot_level_decrease = 1;
|
||||
{
|
||||
bot_level_decrease--;
|
||||
}
|
||||
|
||||
if (players[i].botvars.difficulty <= bot_level_decrease)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue