mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-29 19:22:38 +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.
|
||||
// (However, if they're already on a shortcut, then we want them to keep going.)
|
||||
|
||||
if (player->nextwaypoint == NULL
|
||||
|| K_GetWaypointIsShortcut(player->nextwaypoint) == false)
|
||||
if (player->nextwaypoint != NULL
|
||||
&& K_GetWaypointIsShortcut(player->nextwaypoint) == false)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue