summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/minimap.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 6e8d8a04..a6d1ef6c 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -60,11 +60,17 @@ void Minimap::setMap(Map *map)
if (mMapImage != NULL)
{
+ setVisible(true);
mMapImage->setAlpha(0.7);
}
+ else
+ {
+ setVisible(false);
+ }
}
else
{
+ setVisible(false);
mMapImage = NULL;
}
}