summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 29d371fd83..d5707703d0 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2934,6 +2934,7 @@ void zap_wand(void)
}
const bool alreadyknown = item_type_known(wand);
+ const bool alreadytried = item_type_tried(wand);
if (!alreadyknown)
beam.effect_known = false;
@@ -3030,7 +3031,7 @@ void zap_wand(void)
exercise( SK_EVOCATIONS, 1 );
alert_nearby_monsters();
- if (!alreadyknown && dangerous)
+ if (!alreadyknown && !alreadytried && dangerous)
{
// Xom loves it when you use an unknown wand and there is a
// dangerous monster nearby...