summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 11:18:25 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 11:33:57 +0300
commit0e18c9cc6ebe782f5791b5ebcea10946e9f2c2d8 (patch)
treef30eac77822e241783d10f60bc336c508da1f4ff /crawl-ref/source/spl-book.cc
parentf52c2f9713b594127ef8fdf5acb787c0fc43d89f (diff)
downloadcrawl-ref-0e18c9cc6ebe782f5791b5ebcea10946e9f2c2d8.tar.gz
crawl-ref-0e18c9cc6ebe782f5791b5ebcea10946e9f2c2d8.zip
Remove SPFLAG_DEVEL and the only spell that had it set, Disrupt.
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index fcac1faa6a..52533d386c 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -2163,18 +2163,6 @@ static void _get_spell_list(std::vector<spell_type> &spell_list, int level,
}
}
- // Only wizard mode gets spells still under development.
- const unsigned int flags = get_spell_flags(spell);
- if (flags & SPFLAG_DEVEL)
- {
-#ifdef WIZARD
- if (!you.wizard)
- continue;
-#else
- continue;
-#endif
- }
-
if (avoid_uncastable && you_cannot_memorise(spell))
{
uncastable_discard++;