summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2008-02-26 21:35:37 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2008-02-26 21:35:37 +0000
commitffc78d92aa2b1557a04b9639022492281cdabfcc (patch)
tree007522217f19a955905881c27464706b7ac22e61 /src/gui/minimap.cpp
parent1b713c6f2bee661bd4b835151100fcc931337b66 (diff)
downloadmana-ffc78d92aa2b1557a04b9639022492281cdabfcc.tar.gz
mana-ffc78d92aa2b1557a04b9639022492281cdabfcc.tar.bz2
mana-ffc78d92aa2b1557a04b9639022492281cdabfcc.tar.xz
mana-ffc78d92aa2b1557a04b9639022492281cdabfcc.zip
Keep minimap status. Based on a patch by Knivey.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 08560b840..4881573a 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -58,13 +58,8 @@ void Minimap::setMapImage(Image *img)
if (mMapImage)
{
- setVisible(true);
mMapImage->setAlpha(0.7);
}
- else
- {
- setVisible(false);
- }
}
void Minimap::draw(gcn::Graphics *graphics)