summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ability.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:31:40 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:31:40 -0600
commit8dfefae69642d95eb191729af4910d69ac9c357d (patch)
tree8d2bed756c95c1f08eb583b037c5925dfc8aab42 /crawl-ref/source/ability.cc
parent18cf5c4f68b942b9a1b54804906d8fe5dabb3e08 (diff)
downloadcrawl-ref-8dfefae69642d95eb191729af4910d69ac9c357d.tar.gz
crawl-ref-8dfefae69642d95eb191729af4910d69ac9c357d.zip
Show usability of Bribe Branch properly in local tiles.
The split here is a bit messy, and it's a good thing the ability does not have a fail chance as there are still abort conditions after the fail check right now. Oh well.
Diffstat (limited to 'crawl-ref/source/ability.cc')
-rw-r--r--crawl-ref/source/ability.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/ability.cc b/crawl-ref/source/ability.cc
index c7693f1e86..be4656aaad 100644
--- a/crawl-ref/source/ability.cc
+++ b/crawl-ref/source/ability.cc
@@ -1689,6 +1689,9 @@ static bool _check_ability_possible(const ability_def& abil,
case ABIL_GOZAG_CALL_MERCHANT:
return gozag_setup_call_merchant(quiet);
+ case ABIL_GOZAG_BRIBE_BRANCH:
+ return gozag_check_bribe_branch(quiet);
+
default:
return true;
}