Break from loop when valid target is found
This commit is contained in:
parent
7c65095671
commit
da01a91852
1 changed files with 1 additions and 0 deletions
|
|
@ -7906,6 +7906,7 @@ static boolean K_SetPlayerNextWaypoint(player_t *player)
|
|||
}
|
||||
|
||||
bestwaypoint = waypoint->nextwaypoints[j];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue