forked from mirror/OpenTTD
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
This commit is contained in:
@@ -301,6 +301,8 @@ public:
|
||||
this->caption_color = _local_player;
|
||||
this->sel_group = id_g;
|
||||
this->vscroll2.cap = this->vscroll.cap; // these two are always the same
|
||||
|
||||
this->FindWindowPlacementAndResize(desc);
|
||||
}
|
||||
|
||||
virtual void OnPaint()
|
||||
|
Reference in New Issue
Block a user