summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-03-28 07:16:03 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-03-28 07:16:03 +0000
commit2682ccd044a9bd98ba31f1903408e281b54d64f0 (patch)
tree6f0e9ba2760f433b43444cec61742f3389608d82 /crawl-ref/source/potion.cc
parent21463cad35aa657b33c466cc8e0d3ee9e51e7a96 (diff)
downloadcrawl-ref-2682ccd044a9bd98ba31f1903408e281b54d64f0.tar.gz
crawl-ref-2682ccd044a9bd98ba31f1903408e281b54d64f0.zip
Fix some transformations aborting silently on failure
Willing transformations should display the failure messages to explain why they're failing. Removes an unnecessary message from lignification.
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r--crawl-ref/source/potion.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index 3db02bdbaf..e3c6674511 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -523,10 +523,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
case POT_LIGNIFY:
if (potion && was_known && !transform(0, TRAN_TREE, false, true))
- {
- mpr("You can't become a tree right now.");
return false;
- }
if (transform(30, TRAN_TREE, !was_known))
{