diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-01 12:45:10 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-01 12:45:10 +0100 |
commit | 109c0d635f0c9440b6789c9251a38783e7d5e9a0 (patch) | |
tree | f01c08cbf39419812d01a6166e13996bb914ca55 /crawl-ref/source/art-func.h | |
parent | d83426aef5ea6aca778fe86efe7ae2f9ceba612e (diff) | |
download | crawl-ref-109c0d635f0c9440b6789c9251a38783e7d5e9a0.tar.gz crawl-ref-109c0d635f0c9440b6789c9251a38783e7d5e9a0.zip |
Disallow using abilities with a hp cost while under DDoor.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r-- | crawl-ref/source/art-func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h index 93d153c3c8..4c36e204c4 100644 --- a/crawl-ref/source/art-func.h +++ b/crawl-ref/source/art-func.h @@ -188,7 +188,7 @@ static void _DISPATER_melee_effects(item_def* weapon, actor* attacker, static bool _DISPATER_evoke(item_def *item, int* pract, bool* did_work, bool* unevokable) { - if (you.duration[DUR_DEATHS_DOOR] || !enough_hp(11, true)) + if (!enough_hp(11, true)) { mpr("You're too close to death to use this item."); *unevokable = true; |