summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-05-22 15:48:25 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-05-22 15:48:25 -0500
commit88e5021a7e17c830874f230874c23ba822ca2d03 (patch)
tree5af30a4b719ea21a8d98693cc742a9d0c81cefcb /crawl-ref/source/food.h
parentf0ab75debbf5e135a3b8ec4092393b3cd359984a (diff)
downloadcrawl-ref-88e5021a7e17c830874f230874c23ba822ca2d03.tar.gz
crawl-ref-88e5021a7e17c830874f230874c23ba822ca2d03.zip
Replace a magic number with a #define.
Diffstat (limited to 'crawl-ref/source/food.h')
-rw-r--r--crawl-ref/source/food.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/food.h b/crawl-ref/source/food.h
index d4d870e2f4..f284e96159 100644
--- a/crawl-ref/source/food.h
+++ b/crawl-ref/source/food.h
@@ -10,6 +10,7 @@
#define BERSERK_NUTRITION 700
#define HUNGER_STARVING 1000
#define HUNGER_DEFAULT 6000
+#define HUNGER_MAXIMUM 12000
int count_corpses_in_pack(bool blood_only = false);
bool butchery(int which_corpse = -1, bool bottle_blood = false);