(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
This commit is contained in:
@@ -163,6 +163,8 @@ public:
|
||||
this->selected_index = 0;
|
||||
this->selected_type = this->index[0];
|
||||
this->callback_timer = DAY_TICKS;
|
||||
|
||||
this->FindWindowPlacementAndResize(&_build_industry_desc);
|
||||
}
|
||||
|
||||
virtual void OnPaint()
|
||||
|
Reference in New Issue
Block a user