mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Allow bot control if knocked backwards after sprint finish
This commit is contained in:
parent
12563d254a
commit
79cf985380
1 changed files with 1 additions and 1 deletions
|
|
@ -1292,7 +1292,7 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->exiting && ((mapheaderinfo[gamemap - 1]->levelflags & LF_SECTIONRACE) == LF_SECTIONRACE))
|
if (player->exiting && player->nextwaypoint == K_GetFinishLineWaypoint() && ((mapheaderinfo[gamemap - 1]->levelflags & LF_SECTIONRACE) == LF_SECTIONRACE))
|
||||||
{
|
{
|
||||||
// Sprint map finish, don't give Sal's children migraines trying to pathfind out
|
// Sprint map finish, don't give Sal's children migraines trying to pathfind out
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue