summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-spl.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-09-28 17:57:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-29 11:19:18 +0200
commit144d58e00292207139e7394dbbbf745001036fa2 (patch)
tree1caaea5b9caba7197bd6e56ed8bb70f8b0d67248 /crawl-ref/source/tilereg-spl.cc
parentdba92aff0b21bd46cd6bb4e116581b035da7296f (diff)
downloadcrawl-ref-144d58e00292207139e7394dbbbf745001036fa2.tar.gz
crawl-ref-144d58e00292207139e7394dbbbf745001036fa2.zip
replace selective amnesia with scroll of amnesia
Diffstat (limited to 'crawl-ref/source/tilereg-spl.cc')
-rw-r--r--crawl-ref/source/tilereg-spl.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/tilereg-spl.cc b/crawl-ref/source/tilereg-spl.cc
index f763986979..fcfdf03bcb 100644
--- a/crawl-ref/source/tilereg-spl.cc
+++ b/crawl-ref/source/tilereg-spl.cc
@@ -149,11 +149,7 @@ bool SpellRegion::update_alt_text(std::string &alt)
static int _get_max_spells()
{
- int max_spells = 21;
- if (you.has_spell(SPELL_SELECTIVE_AMNESIA))
- max_spells++;
-
- return (max_spells);
+ return (21);
}
int SpellRegion::get_max_slots()