summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-03 12:25:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-03 12:25:27 +0300
commitda87d0f7ce54182e3ea89a512ce3c24d5d06405e (patch)
treee08a5503e6ec45285b61ad06b56309184507087a /src/gui/windows/minimap.h
parent3279c64d25124dbe759f7ba4fffe5554c3dd9e1e (diff)
downloadmanaverse-da87d0f7ce54182e3ea89a512ce3c24d5d06405e.tar.gz
manaverse-da87d0f7ce54182e3ea89a512ce3c24d5d06405e.tar.bz2
manaverse-da87d0f7ce54182e3ea89a512ce3c24d5d06405e.tar.xz
manaverse-da87d0f7ce54182e3ea89a512ce3c24d5d06405e.zip
Remove duplicate code from minimap.
Diffstat (limited to 'src/gui/windows/minimap.h')
-rw-r--r--src/gui/windows/minimap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/minimap.h b/src/gui/windows/minimap.h
index e8fff5144..18a8a0a8b 100644
--- a/src/gui/windows/minimap.h
+++ b/src/gui/windows/minimap.h
@@ -73,6 +73,8 @@ class Minimap final : public Window, public ConfigListener
void optionChanged(const std::string &name);
private:
+ void deleteMapImage();
+
float mWidthProportion;
float mHeightProportion;
Image *mMapImage;