summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-26 16:24:02 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-26 16:24:02 +0000
commit5699e0b53c738196cea517fb8addc9bce952b495 (patch)
tree2ef1a986b278e0c3278d0af496fe72de0a080c0b /crawl-ref/source/makeitem.cc
parent5aff13932a7e9563bb8604e84f86bcfcc0763857 (diff)
downloadcrawl-ref-5699e0b53c738196cea517fb8addc9bce952b495.tar.gz
crawl-ref-5699e0b53c738196cea517fb8addc9bce952b495.zip
Fix 2714466: rods and spellbooks leaking goodness information.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9554 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index fcd502e86c..5ca75012ff 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3022,7 +3022,8 @@ static void _give_monster_item(monsters *mon, int thing,
{
#ifdef DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "Destroying %s because %s doesn't want it!",
- mthing.name(DESC_PLAIN).c_str(), mon->name(DESC_PLAIN).c_str());
+ mthing.name(DESC_PLAIN, false, true).c_str(),
+ mon->name(DESC_PLAIN, true).c_str());
#endif
destroy_item(thing, true);
return;