mirror of https://github.com/OpenTTD/OpenTTD
Fix: company livery window's instance variables were not set
parent
f8478cdee4
commit
cfa31849be
|
@ -594,13 +594,13 @@ public:
|
||||||
/** Company livery colour scheme window. */
|
/** Company livery colour scheme window. */
|
||||||
struct SelectCompanyLiveryWindow : public Window {
|
struct SelectCompanyLiveryWindow : public Window {
|
||||||
private:
|
private:
|
||||||
uint32_t sel;
|
uint32_t sel = 0;
|
||||||
LiveryClass livery_class;
|
LiveryClass livery_class{};
|
||||||
Dimension square;
|
Dimension square{};
|
||||||
uint rows;
|
uint rows = 0;
|
||||||
uint line_height;
|
uint line_height = 0;
|
||||||
GUIGroupList groups;
|
GUIGroupList groups{};
|
||||||
Scrollbar *vscroll;
|
Scrollbar *vscroll = nullptr;
|
||||||
|
|
||||||
void ShowColourDropDownMenu(uint32_t widget)
|
void ShowColourDropDownMenu(uint32_t widget)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue