summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index cc4fb2aeea..5c09d2c00e 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -663,7 +663,7 @@ bool cast_a_spell()
return (false);
}
- if (you.is_undead != US_UNDEAD && you.is_undead != US_SEMI_UNDEAD
+ if (you.is_undead != US_UNDEAD && you.species != SP_VAMPIRE
&& (you.hunger_state == HS_STARVING
|| you.hunger <= spell_hunger( spell )))
{