summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-03 16:17:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-03 16:17:52 +0000
commit5511b48771d9a12e3e622e375220091cf94023dd (patch)
treee5c031833bd5c88b0fbeb120667d66fc05a5e83b /crawl-ref/source/directn.cc
parentae0c5cb4ea464e174d3ff287532d316d32b9df24 (diff)
downloadcrawl-ref-5511b48771d9a12e3e622e375220091cf94023dd.tar.gz
crawl-ref-5511b48771d9a12e3e622e375220091cf94023dd.zip
* Make movement restrictions when beheld also apply to blinking and
controlled teleport. * Highlight restricted grids when beheld (ASCII only): - main screen: restricted grids in LOS are darkgrey - X screen: unrestricted grids in view around the mermaid(s) are lightgrey * switch xx command back to leaving examine mode git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7105 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 6b84395f45..5f582fc35a 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -532,8 +532,11 @@ void full_describe_view()
std::vector<formatted_string> fss;
std::string str = get_monster_desc(list_mons[i], true, DESC_CAP_A,
true);
+ if (player_beheld_by(list_mons[i]))
+ str += ", beholding you";
+
if (dam_level != MDAM_OKAY)
- str = str + ", " + wound_str;
+ str += ", " + wound_str;
// Wraparound if the description is longer than allowed.
linebreak_string2(str, get_number_of_cols() - 8);
@@ -631,11 +634,6 @@ void full_describe_view()
describe_item( *i );
}
}
-
- // Repeat the prompt to show where we are.
- mpr("Move the cursor around to observe a square "
- "(x - list visible monsters and items, v - describe square, "
- "? - help)", MSGCH_PROMPT);
}