From aedda43f38222538320a2bd6e428d61f03afffc4 Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 21 Aug 2002 16:42:10 +0000 Subject: [PATCH] tearing spellbooks while confused Reported to the newsgroup, the code in study_book for the effect of confusion on studying a book was never reached. Removed the deprecated check from read.c --- doc/fixes34.1 | 1 + src/read.c | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index ac7d48080..42ee888ae 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -211,6 +211,7 @@ rolling boulder hitting monster stuck in pit should stop even when mon survives don't see chest trap gas colors while Blind adjust fruit name in potion juice messages if it has the form "foo of bar" wielded camera passes harmlessly through shade +reading spellbooks while confused should allow tearing the book Platform- and/or Interface-Specific Fixes diff --git a/src/read.c b/src/read.c index b26625647..d72cb3749 100644 --- a/src/read.c +++ b/src/read.c @@ -127,11 +127,7 @@ doread() if (scroll->otyp == SCR_MAIL) confused = FALSE; #endif if(scroll->oclass == SPBOOK_CLASS) { - if(confused) { - You("cannot grasp the meaning of this tome."); - return(0); - } else - return(study_book(scroll)); + return(study_book(scroll)); } scroll->in_use = TRUE; /* scroll, not spellbook, now being read */ if(scroll->otyp != SCR_BLANK_PAPER) { -- 2.40.0