diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-23 14:28:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-23 14:28:16 +0000 |
commit | ee70db5d6a4c06918ae40c5110f2e5390dfc27ea (patch) | |
tree | c6a2f8fbe594e23a9d5ec250952b69e9f85afa9c /crawl-ref/source/player.cc | |
parent | 26f69a4fe082aa588e0e2f5f8bccd7114a2ef688 (diff) | |
download | crawl-ref-ee70db5d6a4c06918ae40c5110f2e5390dfc27ea.tar.gz crawl-ref-ee70db5d6a4c06918ae40c5110f2e5390dfc27ea.zip |
Remove unused ravenous hunger state, and clean up food state checks a
bit more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4535 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index f3e83a8c6f..e9eea5b590 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3510,7 +3510,7 @@ int check_stealth(void) break; case SP_VAMPIRE: // Hungry/bat-form vampires are (much) more stealthy - if (you.hunger_state <= HS_STARVING) + if (you.hunger_state == HS_STARVING) stealth += (you.skills[SK_STEALTH] * 21); else if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT || you.hunger_state <= HS_NEAR_STARVING) |