diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2012-01-13 13:23:29 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-15 00:43:24 +0100 |
commit | 76c4c74f1ea3e03d4617de6504c3cb72572f31f4 (patch) | |
tree | 473acaba1afb7912f762ed0f09a16b6e615b7fc9 | |
parent | 04badb46717681879fb68430a49afb04e26671ef (diff) | |
download | mana-76c4c74f1ea3e03d4617de6504c3cb72572f31f4.tar.gz mana-76c4c74f1ea3e03d4617de6504c3cb72572f31f4.tar.bz2 mana-76c4c74f1ea3e03d4617de6504c3cb72572f31f4.tar.xz mana-76c4c74f1ea3e03d4617de6504c3cb72572f31f4.zip |
Remove dead beings from the minimap
Reviewed-by: Bertram
-rw-r--r-- | src/gui/minimap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index ff282164..cdc7583e 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -199,6 +199,10 @@ void Minimap::draw(gcn::Graphics *graphics) continue; const Being *being = static_cast<Being*>(*it); + + if (!being->isAlive()) + continue; + int dotSize = 2; int type = UserPalette::PC; |