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:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user