diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-03-28 07:16:03 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-03-28 07:16:03 +0000 |
commit | 2682ccd044a9bd98ba31f1903408e281b54d64f0 (patch) | |
tree | 6f0e9ba2760f433b43444cec61742f3389608d82 /crawl-ref/source/potion.cc | |
parent | 21463cad35aa657b33c466cc8e0d3ee9e51e7a96 (diff) | |
download | crawl-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.cc | 3 |
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)) { |