From 6052fa93471180670f18d1abad16b2a12cdcf1dc Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 20 May 2008 11:47:37 +0000 Subject: Finally fix 1868761: Books in shops being noted as identified over and over again (when searching stashes). Also remove my recently added NOTE_FOUND_ORB_OR_RUNES in favour of the previously existing NOTE_GET_ITEM. Also I've noticed that this is probably already listed in the "milestones" - but what on earth are they? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5150 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index e05e686682..d61ab5bcc2 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1747,9 +1747,10 @@ static bool _do_ability(const ability_def& abil) if (you.magic_points) set_mp(random2(you.magic_points), false); + bool note_status = notes_are_active(); activate_notes(false); // this banishment shouldn't be noted banished(DNGN_ENTER_ABYSS); - activate_notes(true); + activate_notes(note_status); break; } case ABIL_NEMELEX_DRAW_ONE: -- cgit v1.2.3-54-g00ecf