summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-24 23:14:15 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-27 01:53:01 +0200
commit679d65df8033fe3f969cefc459fbf810e97f5af0 (patch)
tree70fbfdad68106b0483500d56798670de07a74f69 /crawl-ref/source/spl-other.cc
parent38e8f2dd1293f64600e7238f94c2e6239cb5c75f (diff)
downloadcrawl-ref-679d65df8033fe3f969cefc459fbf810e97f5af0.tar.gz
crawl-ref-679d65df8033fe3f969cefc459fbf810e97f5af0.zip
Rebase hunger values at 0 (from 100).
Also, get rid of a number (but not all) literal values, replacing them with defines. No compensation is given for proportional costs (Zin's wrath, hungry ghost melee).
Diffstat (limited to 'crawl-ref/source/spl-other.cc')
-rw-r--r--crawl-ref/source/spl-other.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc
index 7f3463b9df..97494f1b3d 100644
--- a/crawl-ref/source/spl-other.cc
+++ b/crawl-ref/source/spl-other.cc
@@ -120,7 +120,7 @@ spret_type cast_sublimation_of_blood(int pow, bool fail)
while (you.magic_points < you.max_magic_points && you.hp > minhp
&& (you.is_undead != US_SEMI_UNDEAD
- || you.hunger - food >= 7000))
+ || you.hunger - food >= HUNGER_SATIATED))
{
fail_check();
success = true;