summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-06-03 10:03:07 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-06-03 10:08:00 -0600
commitd03812fd80e1da99a0dd9005cdacc874c1a47764 (patch)
tree8868ad35e04548c7a4f650dec2f9d53d256c7e6b /crawl-ref/source/godabil.cc
parent8bf75c48cdaf25d2baccebdcc992a5bd61795712 (diff)
downloadcrawl-ref-d03812fd80e1da99a0dd9005cdacc874c1a47764.tar.gz
crawl-ref-d03812fd80e1da99a0dd9005cdacc874c1a47764.zip
Annouce Gozag abilities only if/when you can afford them (dpeg).
This includes the ^ screen. Probably some of the messages can be reduced in length; some of them go over 80 characters now.
Diffstat (limited to 'crawl-ref/source/godabil.cc')
-rw-r--r--crawl-ref/source/godabil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc
index cc1cc68e78..aa3d67708d 100644
--- a/crawl-ref/source/godabil.cc
+++ b/crawl-ref/source/godabil.cc
@@ -3881,7 +3881,7 @@ bool gozag_potion_petition()
}
ASSERT(you.gold >= faith_price);
- you.gold -= faith_price;
+ you.del_gold(faith_price);
you.attribute[ATTR_GOZAG_GOLD_USED] += faith_price;
for (int j = 0; j < pots[keyin]->size(); j++)
{
@@ -4093,7 +4093,7 @@ bool gozag_call_merchant()
ASSERT(you.gold >= faith_cost);
- you.gold -= faith_cost;
+ you.del_gold(faith_cost);
you.attribute[ATTR_GOZAG_GOLD_USED] += faith_cost;
const shop_type type =