diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-14 01:00:49 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-14 01:00:49 +0100 |
commit | 9052b543871710fec37458839946f7f17689296b (patch) | |
tree | 0840a95218b0819fc4ec674622a9be650289ef7b /crawl-ref/source/item_use.cc | |
parent | a69acd1169503d390eff043b8e4f7c1b2c7480ae (diff) | |
download | crawl-ref-9052b543871710fec37458839946f7f17689296b.tar.gz crawl-ref-9052b543871710fec37458839946f7f17689296b.zip |
Fix equip funcs of artefact armour and jewelry being called with no show_msgs.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index abb21d0fc2..e10141dad6 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -3454,7 +3454,8 @@ void jewellery_wear_effects(item_def &item) // so we don't allow them to make the base types known. if (artefact) { - use_artefact(item); + bool show_msgs = true; + use_artefact(item, &show_msgs); if (learn_pluses && (item.plus != 0 || item.plus2 != 0)) set_ident_flags(item, ISFLAG_KNOW_PLUSES); |