summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-item.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-03 06:38:39 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-03 06:39:11 -0400
commit7c1129b519aa190ef2ec407c796ef548e1b9ca17 (patch)
tree9644e93124fe80211a86b82cbaadd0ceec5f30dd /crawl-ref/source/wiz-item.cc
parente4d24e4b79350681a664bed1b593e36f7900748c (diff)
downloadcrawl-ref-7c1129b519aa190ef2ec407c796ef548e1b9ca17.tar.gz
crawl-ref-7c1129b519aa190ef2ec407c796ef548e1b9ca17.zip
don't generate war chants or stalking when generating books in wizmode
Diffstat (limited to 'crawl-ref/source/wiz-item.cc')
-rw-r--r--crawl-ref/source/wiz-item.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-item.cc b/crawl-ref/source/wiz-item.cc
index 86a755cffb..31008ee424 100644
--- a/crawl-ref/source/wiz-item.cc
+++ b/crawl-ref/source/wiz-item.cc
@@ -48,6 +48,10 @@ static void _make_all_books()
{
for (int i = 0; i < NUM_FIXED_BOOKS; ++i)
{
+#if TAG_MAJOR_VERSION == 34
+ if (i == BOOK_WAR_CHANTS || i == BOOK_STALKING)
+ continue;
+#endif
int thing = items(0, OBJ_BOOKS, i, true, 0, 0, 0, AQ_WIZMODE);
if (thing == NON_ITEM)
continue;