diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-03 18:21:11 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-03 18:21:11 +0000 |
commit | e31e50c63a31aa249510d5c23e9a6d7c26e5dfb5 (patch) | |
tree | 5c1493c9a2208aa2f4d0f6fc2cec1df7f0fc60a1 /crawl-ref/source/view.cc | |
parent | b84db940665bbe61b706f0b69eb661ea4118800b (diff) | |
download | crawl-ref-e31e50c63a31aa249510d5c23e9a6d7c26e5dfb5.tar.gz crawl-ref-e31e50c63a31aa249510d5c23e9a6d7c26e5dfb5.zip |
Fix 1999363: Vampire eating issues.
Tidy up the new lines item descriptions a bit, so you don't get three
free lines in some cases (non-randart, non-special description items)
and one or two in other cases.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6370 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index b5eb5c6362..6f5d247326 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -3015,7 +3015,7 @@ static void _draw_level_map(int start_x, int start_y, bool travel_mode) cursor_control cs(false); int top = 1 + Options.level_map_title; - if ( Options.level_map_title ) + if (Options.level_map_title) { const formatted_string help = formatted_string::parse_string("(Press <w>?</w> for help)"); @@ -4956,8 +4956,7 @@ void viewwindow(bool draw_it, bool do_updates) // have a monster or cloud on it, and is equal // to the grid before monsters and clouds were // added otherwise. - if (Options.clean_map - && Show_Backup(ep) + if (Options.clean_map && Show_Backup(ep) && is_terrain_seen( gc.x, gc.y )) { _get_symbol( gc.x, gc.y, |