diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-24 23:14:15 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-27 01:53:01 +0200 |
commit | 679d65df8033fe3f969cefc459fbf810e97f5af0 (patch) | |
tree | 70fbfdad68106b0483500d56798670de07a74f69 /crawl-ref/source/arena.cc | |
parent | 38e8f2dd1293f64600e7238f94c2e6239cb5c75f (diff) | |
download | crawl-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/arena.cc')
-rw-r--r-- | crawl-ref/source/arena.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index c04520ff8b..9696be70b8 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -13,6 +13,7 @@ #include "dungeon.h" #include "env.h" #include "externs.h" +#include "food.h" #include "items.h" #include "itemname.h" // for make_name() #include "libutil.h" @@ -819,7 +820,7 @@ namespace arena viewwindow(); you.time_taken = 10; // Make sure we don't starve. - you.hunger = 10999; + you.hunger = HUNGER_MAXIMUM; //report_foes(); world_reacts(); do_miscasts(); |