summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-25 14:36:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-25 14:36:29 +0000
commit4fdaee8af22d5684414b8db1e078c8feb9e8a6a4 (patch)
tree34fd1e25f0b0b2d7f334dc076f596c0e135aa520 /crawl-ref/source/spl-book.cc
parente6cc066b99c74af0ab0002aa48e1e950035b7511 (diff)
downloadcrawl-ref-4fdaee8af22d5684414b8db1e078c8feb9e8a6a4.tar.gz
crawl-ref-4fdaee8af22d5684414b8db1e078c8feb9e8a6a4.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4622 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index e8aeb45fa8..0bb371f7d7 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1084,9 +1084,9 @@ bool undead_cannot_memorise(spell_type spell, char being)
case US_HUNGRY_DEAD: // Ghouls
switch (spell)
{
- //case SPELL_REGENERATION:
case SPELL_AIR_WALK:
case SPELL_ALTER_SELF:
+ case SPELL_BERSERKER_RAGE:
case SPELL_BLADE_HANDS:
case SPELL_BORGNJORS_REVIVIFICATION:
case SPELL_CURE_POISON_II:
@@ -1099,7 +1099,6 @@ bool undead_cannot_memorise(spell_type spell, char being)
case SPELL_STATUE_FORM:
case SPELL_SYMBOL_OF_TORMENT:
case SPELL_TAME_BEASTS:
- case SPELL_BERSERKER_RAGE:
return true;
default:
return false;
@@ -1125,6 +1124,7 @@ bool undead_cannot_memorise(spell_type spell, char being)
{
case SPELL_AIR_WALK:
case SPELL_ALTER_SELF:
+ case SPELL_BERSERKER_RAGE:
case SPELL_BLADE_HANDS:
case SPELL_BORGNJORS_REVIVIFICATION:
case SPELL_CURE_POISON_II:
@@ -1141,7 +1141,6 @@ bool undead_cannot_memorise(spell_type spell, char being)
case SPELL_SUMMON_HORRIBLE_THINGS:
case SPELL_SYMBOL_OF_TORMENT:
case SPELL_TAME_BEASTS:
- case SPELL_BERSERKER_RAGE:
return true;
default:
return false;