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

Fix: company livery window's instance variables were not set

This commit is contained in:
Rubidium
2025-03-08 15:23:08 +01:00
parent a154df6549
commit 56fb5de63c

View File

@@ -594,13 +594,13 @@ public:
/** Company livery colour scheme window. */
struct SelectCompanyLiveryWindow : public Window {
private:
uint32_t sel;
LiveryClass livery_class;
Dimension square;
uint rows;
uint line_height;
GUIGroupList groups;
Scrollbar *vscroll;
uint32_t sel = 0;
LiveryClass livery_class{};
Dimension square{};
uint rows = 0;
uint line_height = 0;
GUIGroupList groups{};
Scrollbar *vscroll = nullptr;
void ShowColourDropDownMenu(uint32_t widget)
{