diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-12 19:41:50 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-12 19:41:50 +1000 |
commit | 87db512f77a2420f9ffbb25286d34c874e9e0509 (patch) | |
tree | aa1fc5ab7b73d15ceb4291b7cc712d06f860cdd5 /crawl-ref/source/spl-cast.cc | |
parent | d96f555a5581a19b5d657bcd63084e7447019f7c (diff) | |
download | crawl-ref-87db512f77a2420f9ffbb25286d34c874e9e0509.tar.gz crawl-ref-87db512f77a2420f9ffbb25286d34c874e9e0509.zip |
Rename SPELL_SLEEP -> SPELL_HIBERNATE, and relevant ZAP/BEAM.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index bc0e65d97e..7ad9cb8c4f 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1766,7 +1766,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) cast_tame_beasts(powc); break; - case SPELL_SLEEP: + case SPELL_HIBERNATION: { const int sleep_power = stepdown_value(powc * 9 / 10, 5, 35, 45, 50); @@ -1774,7 +1774,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) mprf(MSGCH_DIAGNOSTICS, "Sleep power stepdown: %d -> %d", powc, sleep_power); #endif - if (!zapping(ZAP_SLEEP, sleep_power, beam, true)) + if (!zapping(ZAP_HIBERNATION, sleep_power, beam, true)) return (SPRET_ABORT); break; } |