summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-03 16:18:04 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-03 16:19:27 -0400
commit23a437ec9459e2bf43e664e780b4ee1deed30fcf (patch)
tree4e5d4f619ca74d8b2addadf93f5e3ccb66a65c48
parent9461ac7c65cc31e94ac7ca78d7281b2f3a545af3 (diff)
downloadcrawl-ref-23a437ec9459e2bf43e664e780b4ee1deed30fcf.tar.gz
crawl-ref-23a437ec9459e2bf43e664e780b4ee1deed30fcf.zip
remove check for too many spells when viewing M list (3647)
There's already a check when you try to actually memorize the spell, so bailing out early here just hides information from the player for no reason.
-rw-r--r--crawl-ref/source/spl-book.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 80ae2d0db0..05030611a4 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -805,13 +805,6 @@ static bool _get_mem_list(spell_list &mem_spells,
}
}
- if (num_memable > 0 && you.spell_no >= MAX_KNOWN_SPELLS)
- {
- if (!just_check)
- mpr("Your head is already too full of spells!");
- return false;
- }
-
if (num_memable)
return true;