summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-01 18:24:42 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-01 18:24:42 +0100
commitbc5fafc588da8c2a0bb7b5aa2aa915f4c6b0e417 (patch)
tree2d4f6b41f802401ba3f76e9f71e03ad25efd71e1 /crawl-ref/source/delay.cc
parent3bf288448a8a98d7f1b2db89711c778cf335b18c (diff)
parentd201e361eac08bd032e84322fd2baef71ea63227 (diff)
downloadcrawl-ref-bc5fafc588da8c2a0bb7b5aa2aa915f4c6b0e417.tar.gz
crawl-ref-bc5fafc588da8c2a0bb7b5aa2aa915f4c6b0e417.zip
Merge branch 'master' into dwants
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 0aedf91cfd..1f065489b7 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -617,7 +617,7 @@ bool already_learning_spell(int spell)
// more amused the hungrier you are.
static void _xom_check_corpse_waste()
{
- const int food_need = max(7000 - you.hunger, 0);
+ const int food_need = max(HUNGER_SATIATED - you.hunger, 0);
xom_is_stimulated(50 + (151 * food_need / 6000));
}