Changeset - r26164:7834c7234fff
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 2 years ago 2022-01-29 13:22:03
j.g.rennison@gmail.com
Fix #9802: Assertion failure in BuildRailWaypointWindow constructor
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/rail_gui.cpp
Show inline comments
 
@@ -2011,6 +2011,7 @@ struct BuildRailWaypointWindow : PickerW
 
		this->FinishInitNested(TRANSPORT_RAIL);
 

	
 
		matrix->SetCount(_waypoint_count);
 
		if (_cur_waypoint_type >= _waypoint_count) _cur_waypoint_type = 0;
 
		matrix->SetClicked(_cur_waypoint_type);
 
	}
 

	
0 comments (0 inline, 0 general)