Skip to content

Commit

Permalink
use new waypoints list in Build_Starting_Waypoint_List
Browse files Browse the repository at this point in the history
  • Loading branch information
ZivDero committed Sep 9, 2024
1 parent 8702d70 commit 7f5fd65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extensions/scenario/scenarioext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,8 @@ static DynamicVectorClass<Cell> Build_Starting_Waypoint_List(bool official)
* Find first valid?
*/
int min_waypts = 0;
for (int i = 0; i < WAYPT_COUNT; ++i) {
if (Scen->Waypoint[min_waypts]) {
for (int i = 0; i < NEW_WAYPOINT_COUNT; ++i) {
if (ScenExtension->Waypoint[min_waypts]) {
break;
}
}
Expand Down

0 comments on commit 7f5fd65

Please sign in to comment.