diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 10:50:12 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-18 10:50:12 +0000 |
commit | a7c16941b77fcdcc841c3edbcd0514c16ac4c2e5 (patch) | |
tree | e3fddfcf268b8dba46eb242b328b051cf3578faf /crawl-ref/source/food.cc | |
parent | 70eeeeec718a95bee1845c48545577551b2abbb7 (diff) | |
download | crawl-ref-a7c16941b77fcdcc841c3edbcd0514c16ac4c2e5.tar.gz crawl-ref-a7c16941b77fcdcc841c3edbcd0514c16ac4c2e5.zip |
Fix tiles compile (in a hacky way, since I don't know what the mp/hp
bar change was really about).
Modify mutations screen for Vampires to allow a toggle to a second page
that lists all those resistances and stuff depending on their blood
level. The screen (designed by David) is really neat, but the underlying
could stand to be improved, and it might be too large, as well.
Also restrict Sublimation of Blood to Vampires that are at least Full,
and it also makes them a bit more thirsty (since they presumably lose
blood when using it). Dispel Undead only does half damage to Vampires at
Alive, and 66% damage at Full or Very Full.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4325 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 4e0efe99ab..a8ed16a0a1 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -78,6 +78,9 @@ void make_hungry( int hunger_amount, bool suppress_msg ) if (you.is_undead == US_UNDEAD) return; + if (hunger_amount == 0) + return; + #if DEBUG_DIAGNOSTICS set_redraw_status( REDRAW_HUNGER ); #endif |