diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:46:18 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:46:18 +0000 |
commit | 21361a5df873316c55c3e4e494249377149b2334 (patch) | |
tree | 410c4f3b4475ee721a412302d51cf27529530e30 /crawl-ref/source/view.cc | |
parent | b94440dcf7c44d70948fb30166651cc0c13145b9 (diff) | |
download | crawl-ref-21361a5df873316c55c3e4e494249377149b2334.tar.gz crawl-ref-21361a5df873316c55c3e4e494249377149b2334.zip |
Add whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 0d4e9e5988..dad9622ccb 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -3609,7 +3609,7 @@ bool magic_mapping(int map_radius, int proportion, bool suppress_msg, { if (proportion < 100 && random2(100) >= proportion) continue; // note that proportion can be over 100 - + const int dist = grid_distance( you.pos(), *ri ); if (dist > pfar && one_chance_in(3)) @@ -3630,7 +3630,7 @@ bool magic_mapping(int map_radius, int proportion, bool suppress_msg, grd(*ri)); } #endif - + if (!wizard_map && is_terrain_known(*ri)) continue; |