summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-16 03:02:47 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-16 22:12:59 +0100
commit995ad2b7e98273f1a064ef6994e7beded2fa43af (patch)
treea7b1e9659ddcd336c2adc6304ecce6615c64de41 /crawl-ref/source/spl-damage.cc
parentf5cbe865a0d29b5be7f021ae065dc5918bc4b84b (diff)
downloadcrawl-ref-995ad2b7e98273f1a064ef6994e7beded2fa43af.tar.gz
crawl-ref-995ad2b7e98273f1a064ef6994e7beded2fa43af.zip
Improve some targeting failure messages
Diffstat (limited to 'crawl-ref/source/spl-damage.cc')
-rw-r--r--crawl-ref/source/spl-damage.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-damage.cc b/crawl-ref/source/spl-damage.cc
index 1dfca402bd..3359b1c4b9 100644
--- a/crawl-ref/source/spl-damage.cc
+++ b/crawl-ref/source/spl-damage.cc
@@ -124,7 +124,8 @@ spret_type cast_fire_storm(int pow, bolt &beam, bool fail)
if (cell_is_solid(beam.target))
{
- mpr("You can't place the storm on a wall.");
+ const char *feat = feat_type_name(grd(beam.target));
+ mprf("You can't place the storm on %s.", article_a(feat).c_str());
return SPRET_ABORT;
}