summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/GipfelWidget.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 3b70b3a..e8ca448 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -237,8 +237,12 @@ GipfelWidget::draw() {
}
if (known_hills->contains(m)) {
- fl_color(FL_RED);
- draw_flag(m_x, m_y, "1");
+ if (known_hills->get_num() > 3) {
+ fl_color(FL_GREEN);
+ } else {
+ fl_color(FL_RED);
+ }
+ draw_flag(m_x, m_y, "");
} else if (m->flags & Hill::HIDDEN) {
fl_color(FL_BLUE);
} else {