summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/minimap.cpp5
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d623bf2..4ee31f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-26 Eugenio Favalli <elvenprogrammer@themanaworld.org>
+
+ * src/gui/minimap.cpp: Keep minimap status. Based on a patch by Knivey.
+
+
2008-02-26 Philipp Sehmisch <tmw@crushnet.org>
* data/graphics/maps/new_14-1.tmx: Fixed some monster traps on
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)