diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index f587595fe4..b45e069e1e 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -3502,6 +3502,9 @@ const char* failure_rate_to_string( int fail ) const char* spell_hunger_string( spell_type spell ) { + if ( you.is_undead == US_UNDEAD ) + return "N/A"; + const int hunger = spell_hunger(spell); if ( hunger == 0 ) return "None"; |