diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 22:21:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 22:21:30 +0000 |
commit | 58b28498325bbe63b85c37caa0d80357f87273a8 (patch) | |
tree | 2f6c0c950d9f7fe324562c162da435d030c6daf9 /crawl-ref/source/tilepick.cc | |
parent | beb6500245eff6f70e18f278f199bf2060fb73b3 (diff) | |
download | crawl-ref-58b28498325bbe63b85c37caa0d80357f87273a8.tar.gz crawl-ref-58b28498325bbe63b85c37caa0d80357f87273a8.zip |
Deactivate the minimap in labyrinths since it gave away information
about placement on the map and also looked a bit odd.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8365 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index cb18fe701d..23aa5e9ab3 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -42,10 +42,13 @@ static inline bool _is_sewers() void TileNewLevel(bool first_time) { tiles.clear_minimap(); - for (int y = 0; y < GYM; y++) - for (int x = 0; x < GXM; x++) - tiles.update_minimap(x, y); + if (player_in_mini_mappable_area()) + { + for (int y = 0; y < GYM; y++) + for (int x = 0; x < GXM; x++) + tiles.update_minimap(x, y); + } if (first_time) tile_init_flavour(); |