when spellbook being read becomes cursed

Revisit a 3.6.1 fix.  When the hero is occupied reading a spellbook
and something causes it to become cursed without interrupting (post-
Wizard harassment's malignant aura), always stop reading instead of
just when the book's bknown flag is already set.
This commit is contained in:
PatR
2021-08-18 17:40:09 -07:00
parent f74121d1ce
commit 35831023b1
2 changed files with 9 additions and 5 deletions

View File

@@ -588,6 +588,8 @@ in wizard mode, polymorphing into hero's role monster in order to revert to
normal form would complain about missing light source if hero was
changing back from the form of a light-emitting monster [didn't affect
normal play because role monsters are invalid polymorph targets there]
revise a 3.6.1 fix: if a spellbook which is being read becomes cursed, always
stop reading: "The <book> slams shut!" and set book->bknown
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository