summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smallmap_gui.h')
-rw-r--r--src/smallmap_gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/smallmap_gui.h b/src/smallmap_gui.h
index 2903544a6..c3151b1a7 100644
--- a/src/smallmap_gui.h
+++ b/src/smallmap_gui.h
@@ -82,6 +82,7 @@ protected:
uint8 refresh; ///< Refresh counter, zeroed every FORCE_REFRESH_PERIOD ticks.
LinkGraphOverlay *overlay;
+ static void BreakIndustryChainLink();
Point SmallmapRemapCoords(int x, int y) const;
/**
@@ -173,7 +174,7 @@ public:
friend class NWidgetSmallmapDisplay;
SmallMapWindow(WindowDesc *desc, int window_number);
- virtual ~SmallMapWindow() { delete this->overlay; }
+ virtual ~SmallMapWindow();
void SmallMapCenterOnCurrentPos();
Point GetStationMiddle(const Station *st) const;