Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/game.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 93145f7..c4e354c 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -1268,6 +1268,13 @@ bool Game::load_zone(core::Zone *zone)
} else if (zoneini.got_key_vector3f("location", vectorval)) {
zone->set_location(vectorval);
continue;
+ } else if (zoneini.got_key_bool("showonmap", b)) {
+ if (b) {
+ zone->unset_flag(core::Zone::Hidden);
+ } else {
+ zone->set_flag(core::Zone::Hidden);
+ }
+ continue;
} else if (zoneini.got_key_string("info", strval)) {
core::Info *info = core::Info::find(zone->info());
if (!info) {