Break from loop when valid target is found

This commit is contained in:
NepDisk 2025-03-08 21:08:42 -05:00
parent 7c65095671
commit da01a91852

View file

@ -7906,6 +7906,7 @@ static boolean K_SetPlayerNextWaypoint(player_t *player)
}
bestwaypoint = waypoint->nextwaypoints[j];
break;
}
}