Codechange: Missing some conversions to WidgetID. (#11773)

This commit is contained in:
Peter Nelson
2024-01-14 16:47:10 +00:00
committed by GitHub
parent 93ba6d6776
commit 71aaed860b
5 changed files with 5 additions and 5 deletions

View File

@@ -1095,7 +1095,7 @@ void DrawEngineList(VehicleType type, const Rect &r, const GUIEngineList &eng_li
* @param selected Currently selected sort criterium.
* @param button Widget button.
*/
void DisplayVehicleSortDropDown(Window *w, VehicleType vehicle_type, int selected, int button)
void DisplayVehicleSortDropDown(Window *w, VehicleType vehicle_type, int selected, WidgetID button)
{
uint32_t hidden_mask = 0;
/* Disable sorting by power or tractive effort when the original acceleration model for road vehicles is being used. */