summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spl-book.cc2
-rw-r--r--crawl-ref/source/spl-cast.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index a1d0f448e6..1c5746fbb7 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1088,6 +1088,7 @@ bool undead_cannot_memorise(spell_type spell, char being)
case SPELL_RESIST_POISON:
case SPELL_SPIDER_FORM:
case SPELL_STATUE_FORM:
+ case SPELL_STONESKIN:
case SPELL_SYMBOL_OF_TORMENT:
case SPELL_TAME_BEASTS:
return (true);
@@ -1129,6 +1130,7 @@ bool undead_cannot_memorise(spell_type spell, char being)
case SPELL_RESIST_POISON:
case SPELL_SPIDER_FORM:
case SPELL_STATUE_FORM:
+ case SPELL_STONESKIN:
case SPELL_SUMMON_HORRIBLE_THINGS:
case SPELL_SYMBOL_OF_TORMENT:
case SPELL_TAME_BEASTS:
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 0fa94da4dc..aec70f124f 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -845,6 +845,7 @@ static bool _vampire_cannot_cast(spell_type spell)
case SPELL_RESIST_POISON:
case SPELL_SPIDER_FORM:
case SPELL_STATUE_FORM:
+ case SPELL_STONESKIN:
case SPELL_TAME_BEASTS:
return (true);
default: