mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix logic bug with bot shortcut waypoints
This commit is contained in:
parent
2689012249
commit
bfd84b1099
1 changed files with 2 additions and 2 deletions
|
|
@ -9233,8 +9233,8 @@ static waypoint_t *K_GetPlayerNextWaypoint(player_t *player)
|
||||||
// Bots that aren't able to take a shortcut will ignore shortcut waypoints.
|
// Bots that aren't able to take a shortcut will ignore shortcut waypoints.
|
||||||
// (However, if they're already on a shortcut, then we want them to keep going.)
|
// (However, if they're already on a shortcut, then we want them to keep going.)
|
||||||
|
|
||||||
if (player->nextwaypoint == NULL
|
if (player->nextwaypoint != NULL
|
||||||
|| K_GetWaypointIsShortcut(player->nextwaypoint) == false)
|
&& K_GetWaypointIsShortcut(player->nextwaypoint) == false)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue