summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index f64fa21dee..9924f8b957 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1715,7 +1715,7 @@ static bool _do_ability(const ability_def& abil)
break;
case ABIL_ELYVILON_LESSER_HEALING:
- if (!cast_healing(3 + (you.skills[SK_INVOCATIONS] / 6)))
+ if (cast_healing(3 + (you.skills[SK_INVOCATIONS] / 6), true) < 0)
return (false);
exercise(SK_INVOCATIONS, 1);
@@ -1727,7 +1727,7 @@ static bool _do_ability(const ability_def& abil)
break;
case ABIL_ELYVILON_GREATER_HEALING:
- if (!cast_healing(10 + (you.skills[SK_INVOCATIONS] / 3)))
+ if (cast_healing(10 + (you.skills[SK_INVOCATIONS] / 3), true) < 0)
return (false);
exercise(SK_INVOCATIONS, 3 + random2(5));