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
This commit is contained in:
cohrs
2002-08-21 16:42:10 +00:00
parent 2697615bd3
commit aedda43f38
2 changed files with 2 additions and 5 deletions

View File

@@ -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) {