Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/galaxymapwidget.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/galaxymapwidget.cc b/src/client/galaxymapwidget.cc
index 508567a..be9a6e0 100644
--- a/src/client/galaxymapwidget.cc
+++ b/src/client/galaxymapwidget.cc
@@ -115,6 +115,10 @@ void GalaxyMapWidget::draw()
for (core::Zone::Registry::iterator it = core::Zone::registry().begin(); it != core::Zone::registry().end(); it++) {
zone = (*it).second;
+
+ if (zone->has_flag(core::Zone::Hidden)) {
+ continue;
+ }
bool draw_icon = true;
@@ -131,7 +135,7 @@ void GalaxyMapWidget::draw()
draw_icon = false;
}
}
- // TODO draw a ship icon for current location
+ // TODO draw a ship icon for current location
if (draw_icon) {
gl::begin(gl::Quads);