diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-13 11:20:50 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-13 11:20:50 +0000 |
commit | bdf7790e177b672f18af015211f2f69e84c6c1cb (patch) | |
tree | 53e8eab16341fe2049b6149cbbc9ca81b1ce63a5 /crawl-ref/source/view.cc | |
parent | 40e4b8b58a0d57fff3b24aeff8dedd26b9d10427 (diff) | |
download | crawl-ref-bdf7790e177b672f18af015211f2f69e84c6c1cb.tar.gz crawl-ref-bdf7790e177b672f18af015211f2f69e84c6c1cb.zip |
Cleaning up magic mapping. Patch by dolorous.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2078 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index e29439e195..6a22de3464 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -3159,15 +3159,21 @@ void show_map( FixedVector<int, 2> &spec_place, bool travel_mode ) // Returns true if succeeded -bool magic_mapping(int map_radius, int proportion, bool force) +bool magic_mapping(int map_radius, int proportion, bool suppress_msg, + bool force) { if (!force && ((you.level_type == LEVEL_ABYSS) || (you.level_type == LEVEL_LABYRINTH && you.species != SP_MINOTAUR))) { + if (!suppress_msg) + mpr("You feel momentarily disoriented."); return false; } + if (!suppress_msg) + mpr( "You feel aware of your surroundings." ); + int i, j, k, l, empty_count; if (map_radius > 50 && map_radius != 1000) |