From c8900f370bd9fa411032c36ed33679f0543f9e34 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 22 Apr 2008 18:35:17 +0000 Subject: Add miscellaneous undead-related fixes. When changing species to vampire in wizard mode, set you.is_undead to the proper value; check for you.is_undead's being US_UNDEAD when determining if a species can eat, instead of checking for the mummy species directly; and display the "if you weren't so full, you could turn into a bat" message for vampires that gain the ability when at least full, instead of only when satiated, since it won't work in the former case. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4476 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 0a0c8673c8..a1699b348d 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3068,7 +3068,7 @@ void level_change(bool skip_attribute_increase) case SP_VAMPIRE: if (you.experience_level == 3) { - if (you.hunger_state == HS_ENGORGED) + if (you.hunger_state > HS_SATIATED) { mpr( "If you weren't so full you could now transform " "into a vampire bat.", MSGCH_INTRINSIC_GAIN ); -- cgit v1.2.3-54-g00ecf