summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.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/command.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/command.cc')
-rw-r--r--crawl-ref/source/command.cc12
1 files changed, 3 insertions, 9 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 3a34671f22..2dba6303a7 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1061,8 +1061,7 @@ static bool _spell_filter(std::string key, std::string body)
if (spell == SPELL_NO_SPELL)
return (true);
- if (get_spell_flags(spell) & (SPFLAG_MONSTER | SPFLAG_TESTING
- | SPFLAG_DEVEL))
+ if (get_spell_flags(spell) & (SPFLAG_MONSTER | SPFLAG_TESTING))
{
#ifdef WIZARD
return (!you.wizard);
@@ -1166,12 +1165,7 @@ static void _append_non_item(std::string &desc, std::string key)
unsigned int flags = get_spell_flags(type);
- if (flags & SPFLAG_DEVEL)
- {
- desc += "$This spell is still being developed, and is only available "
- "via the &Z wizard command.";
- }
- else if (flags & SPFLAG_TESTING)
+ if (flags & SPFLAG_TESTING)
{
desc += "$This is a testing spell, only available via the "
"&Z wizard command.";
@@ -1198,7 +1192,7 @@ static void _append_non_item(std::string &desc, std::string key)
if (true)
#endif
{
- if (flags & (SPFLAG_TESTING | SPFLAG_MONSTER | SPFLAG_DEVEL))
+ if (flags & (SPFLAG_TESTING | SPFLAG_MONSTER))
{
desc += "$$You aren't in wizard mode, so you shouldn't be "
"seeing this entry. Please file a bug report.";