summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:41:50 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-12 19:41:50 +1000
commit87db512f77a2420f9ffbb25286d34c874e9e0509 (patch)
treeaa1fc5ab7b73d15ceb4291b7cc712d06f860cdd5 /crawl-ref/source/goditem.cc
parentd96f555a5581a19b5d657bcd63084e7447019f7c (diff)
downloadcrawl-ref-87db512f77a2420f9ffbb25286d34c874e9e0509.tar.gz
crawl-ref-87db512f77a2420f9ffbb25286d34c874e9e0509.zip
Rename SPELL_SLEEP -> SPELL_HIBERNATE, and relevant ZAP/BEAM.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r--crawl-ref/source/goditem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc
index 3a1341accb..7976e77994 100644
--- a/crawl-ref/source/goditem.cc
+++ b/crawl-ref/source/goditem.cc
@@ -598,7 +598,7 @@ bool god_dislikes_spell_type(spell_type spell, god_type god)
// into a state where attacking them would be unchivalrous.
if (spell == SPELL_CAUSE_FEAR || spell == SPELL_PARALYSE
|| spell == SPELL_CONFUSE || spell == SPELL_MASS_CONFUSION
- || spell == SPELL_SLEEP || spell == SPELL_MASS_SLEEP)
+ || spell == SPELL_HIBERNATION || spell == SPELL_MASS_SLEEP)
{
return (true);
}