mirror of https://github.com/OpenTTD/OpenTTD
(svn r15162) -Fix: the join status window didn't get properly created
parent
99b1f1a8f4
commit
c9436c8d88
|
@ -1800,6 +1800,7 @@ struct NetworkJoinStatusWindow : Window {
|
||||||
NetworkJoinStatusWindow(const WindowDesc *desc) : Window(desc)
|
NetworkJoinStatusWindow(const WindowDesc *desc) : Window(desc)
|
||||||
{
|
{
|
||||||
this->parent = FindWindowById(WC_NETWORK_WINDOW, 0);
|
this->parent = FindWindowById(WC_NETWORK_WINDOW, 0);
|
||||||
|
this->FindWindowPlacementAndResize(desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnPaint()
|
virtual void OnPaint()
|
||||||
|
|
Loading…
Reference in New Issue