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/effects.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/effects.cc') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 8509d1bea6..7bc319bff2 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -1812,10 +1812,10 @@ bool recharge_wand(int item_slot) item_def &wand = you.inv[ item_slot ]; if (wand.base_type == OBJ_WEAPONS - && get_weapon_brand( wand ) == SPWPN_ELECTROCUTION) + && get_weapon_brand(wand) == SPWPN_ELECTROCUTION) { // might fail because of already high enchantment - if ( enchant_weapon( ENCHANT_TO_DAM, false, wand )) + if (enchant_weapon( ENCHANT_TO_DAM, false, wand )) { you.wield_change = true; -- cgit v1.2.3-54-g00ecf