forked from mirror/OpenTTD
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
This commit is contained in:
@@ -159,7 +159,7 @@ protected:
|
||||
public:
|
||||
friend class NWidgetSmallmapDisplay;
|
||||
|
||||
SmallMapWindow(const WindowDesc *desc, int window_number);
|
||||
SmallMapWindow(WindowDesc *desc, int window_number);
|
||||
virtual ~SmallMapWindow() { delete this->overlay; }
|
||||
|
||||
void SmallMapCenterOnCurrentPos();
|
||||
|
Reference in New Issue
Block a user