mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
This commit is contained in:
@@ -1038,6 +1038,8 @@ struct NetworkLobbyWindow : public Window {
|
||||
{
|
||||
strcpy(_edit_str_net_buf, "");
|
||||
this->vscroll.cap = 10;
|
||||
|
||||
this->FindWindowPlacementAndResize(desc);
|
||||
}
|
||||
|
||||
virtual void OnPaint()
|
||||
|
Reference in New Issue
Block a user