diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 19:04:24 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 19:04:24 +0000 |
commit | 83ec92a8d3169bb47259fc01968add8cf19d9dea (patch) | |
tree | 5663f30c8f6ab667152408920fb37bb5c4d404be /crawl-ref/source/it_use2.cc | |
parent | c8900f370bd9fa411032c36ed33679f0543f9e34 (diff) | |
download | crawl-ref-83ec92a8d3169bb47259fc01968add8cf19d9dea.tar.gz crawl-ref-83ec92a8d3169bb47259fc01968add8cf19d9dea.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4477 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index cdcafa1a69..bc47752444 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -54,7 +54,7 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) pow = 150; const int factor - = (you.species == SP_VAMPIRE && you.hunger_state <= HS_HUNGRY? 2 : 1); + = (you.species == SP_VAMPIRE && you.hunger_state < HS_SATIATED ? 2 : 1); switch (pot_eff) { @@ -100,7 +100,7 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) lessen_hunger(1000, true); // healing depends on thirst - if (you.hunger_state <= HS_HUNGRY) // !heal wounds + if (you.hunger_state < HS_SATIATED) // !heal wounds { inc_hp((10 + random2avg(30,2)) / factor, false); mpr("You feel much better."); |