summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-miscast.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-10 01:26:31 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-10 01:39:50 +0100
commit85748914e4903b0d412d8acb20771f7a8928ec19 (patch)
tree19a6bf5d0e91a95baa3973776041933c2bd62841 /crawl-ref/source/spl-miscast.cc
parent02ac60f29229b497b49592d03cad22ebf638f0dc (diff)
downloadcrawl-ref-85748914e4903b0d412d8acb20771f7a8928ec19.tar.gz
crawl-ref-85748914e4903b0d412d8acb20771f7a8928ec19.zip
Replace it with something.
Diffstat (limited to 'crawl-ref/source/spl-miscast.cc')
-rw-r--r--crawl-ref/source/spl-miscast.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/spl-miscast.cc b/crawl-ref/source/spl-miscast.cc
index 5436c61aaa..8b49d8cde2 100644
--- a/crawl-ref/source/spl-miscast.cc
+++ b/crawl-ref/source/spl-miscast.cc
@@ -273,11 +273,7 @@ string MiscastEffect::get_default_cause(bool attribute_to_user) const
ASSERT(act_source == target);
if (attribute_to_user)
- {
- return string(you.can_see(act_source) ? act_source->name(DESC_A)
- : "something")
- + " miscasting " + spell_title(spell);
- }
+ return act_source->name(DESC_A) + " miscasting " + spell_title(spell);
else
return string("miscast of ") + spell_title(spell);
}