summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-miscast.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-29 02:41:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-29 02:41:01 +0200
commit7c6458af1cf04c870db532fbf90d9b25173daaa8 (patch)
treef46559658cdac990663ac4fd1d6ed58ca4ca4c30 /crawl-ref/source/spl-miscast.cc
parent4363d6c99a9a72a72e4ca0e5ab0feddbce542d84 (diff)
downloadcrawl-ref-7c6458af1cf04c870db532fbf90d9b25173daaa8.tar.gz
crawl-ref-7c6458af1cf04c870db532fbf90d9b25173daaa8.zip
Don't let Xom kill the player with an Earth 3 miscasts if he doesn't want to.
Diffstat (limited to 'crawl-ref/source/spl-miscast.cc')
-rw-r--r--crawl-ref/source/spl-miscast.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/crawl-ref/source/spl-miscast.cc b/crawl-ref/source/spl-miscast.cc
index 272dd8d704..41fa25ff79 100644
--- a/crawl-ref/source/spl-miscast.cc
+++ b/crawl-ref/source/spl-miscast.cc
@@ -672,11 +672,9 @@ bool MiscastEffect::avoid_lethal(int dam)
if (recursion_depth == MAX_RECURSE)
{
-#if defined(DEBUG_DIAGNOSTICS) || defined(DEBUG_MISCAST)
- mpr("Couldn't avoid lethal miscast: too much recursion.",
- MSGCH_ERROR);
-#endif
- return false;
+ // Any possible miscast would kill you, now that's interesting.
+ mpr("Xom watches you with interest.");
+ return true;
}
if (did_msg)