summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 22:22:59 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 22:22:59 +0000
commita0946957cc584681cae95fa525b0a965893b1404 (patch)
tree9a3c6273fc77164d0c605566c3bd5ad9d8464586 /crawl-ref/source/describe.cc
parent48e04ad11d08017601106277ecd345fc2f53d7d4 (diff)
downloadcrawl-ref-a0946957cc584681cae95fa525b0a965893b1404.tar.gz
crawl-ref-a0946957cc584681cae95fa525b0a965893b1404.zip
Fix invisible monsters being described to "burst forth from the water"
if there's no water nearby. (BR 1994574) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5965 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index f686a3e04b..b59539e48d 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2941,7 +2941,8 @@ void describe_god( god_type which_god, bool give_title )
buf << "You can call upon " << god_name(which_god)
<< " to burn books in your surroundings.";
const int spacesleft = 79 - buf.str().length();
- const std::string cost = "(Food)";
+ const std::string cost = "(" + make_cost_description(
+ ABIL_TROG_BURN_BOOKS) + ")";
buf << std::setw(spacesleft) << cost;
cprintf("%s" EOL, buf.str().c_str());
}