1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

Codefix: Incorrect type for OnDropdownSelect widget parameter. (#14074)

This commit is contained in:
2025-04-22 22:44:25 +01:00
committed by GitHub
parent 4149384ebc
commit d028c7f9e2

View File

@@ -668,7 +668,7 @@ public:
}
}
void OnDropdownSelect(int widget, int index) override
void OnDropdownSelect(WidgetID widget, int index) override
{
if (widget == WID_STL_SORTDROPBTN) {
if (this->stations.SortType() != index) {