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 47099858e5..49600fab71 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -652,7 +652,7 @@ bool cast_a_spell()
}
if (you.is_undead != US_UNDEAD
- && (you.hunger_state < HS_HUNGRY
+ && (you.hunger_state <= HS_STARVING
|| you.hunger <= spell_hunger( spell )))
{
mpr("You don't have the energy to cast that spell.");