Codechange: use EnumBitSet for CargoTypes

This commit is contained in:
Peter Nelson
2026-04-21 17:13:31 +01:00
committed by Peter Nelson
parent 962a550d1b
commit c45aa3c9b6
55 changed files with 278 additions and 265 deletions
+1 -1
View File
@@ -1046,7 +1046,7 @@ public:
break;
case WID_GL_FILTER_BY_CARGO: // Select a cargo filter criteria
this->SetCargoFilter(index);
this->SetCargoFilter(static_cast<CargoType>(index));
break;
case WID_GL_MANAGE_VEHICLES_DROPDOWN: