diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 01:01:45 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 01:01:45 +0000 |
commit | c6f2e85b44fe574cff0a59607fe1b5a366954b62 (patch) | |
tree | 20b03f2f2b9cb35d7d2c98f84099882313b2fbe3 /crawl-ref | |
parent | cd4d3eb090f493415b2be432dd673a7a9d99d3dd (diff) | |
download | crawl-ref-c6f2e85b44fe574cff0a59607fe1b5a366954b62.tar.gz crawl-ref-c6f2e85b44fe574cff0a59607fe1b5a366954b62.zip |
Only give "Nothing appears to happen" message if you can see the monster which
reach the scroll.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8042 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 61b1abf570..6e04e4dca2 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -5405,8 +5405,8 @@ static bool _handle_scroll(monsters *monster) ident = ID_KNOWN_TYPE; mprf("%s appears!", menv[mon].name(DESC_CAP_A).c_str()); } - else - mpr("Nothing appears to happen"); + else if (you.can_see(monster)) + mpr("Nothing appears to happen."); } break; } |