summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-item.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-15 22:12:02 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-16 00:37:56 +0100
commitd2d7498a24de15471cd7a604f312ef8695457cf3 (patch)
treec9953f9b218b6e93c1836bf7905c780fa6df4539 /crawl-ref/source/wiz-item.cc
parent499f07fc517ae167f5a230a398568def9622e3e3 (diff)
downloadcrawl-ref-d2d7498a24de15471cd7a604f312ef8695457cf3.tar.gz
crawl-ref-d2d7498a24de15471cd7a604f312ef8695457cf3.zip
Add wands to acquirement statistics.
Diffstat (limited to 'crawl-ref/source/wiz-item.cc')
-rw-r--r--crawl-ref/source/wiz-item.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/wiz-item.cc b/crawl-ref/source/wiz-item.cc
index 75bbd4cf32..3244103c31 100644
--- a/crawl-ref/source/wiz-item.cc
+++ b/crawl-ref/source/wiz-item.cc
@@ -836,7 +836,7 @@ static void _debug_acquirement_stats(FILE *ostat)
mesclr();
mpr("[a] Weapons [b] Armours [c] Jewellery [d] Books");
- mpr("[e] Staves [f] Food [g] Miscellaneous");
+ mpr("[e] Staves [f] Wands [g] Miscellaneous [h] Food");
mpr("What kind of item would you like to get acquirement stats on? ",
MSGCH_PROMPT);
@@ -849,8 +849,9 @@ static void _debug_acquirement_stats(FILE *ostat)
case 'c': type = OBJ_JEWELLERY; break;
case 'd': type = OBJ_BOOKS; break;
case 'e': type = OBJ_STAVES; break;
- case 'f': type = OBJ_FOOD; break;
+ case 'f': type = OBJ_WANDS; break;
case 'g': type = OBJ_MISCELLANY; break;
+ case 'h': type = OBJ_FOOD; break;
default:
canned_msg( MSG_OK );
return;
@@ -939,7 +940,7 @@ static void _debug_acquirement_stats(FILE *ostat)
}
// Print the overview screen to get information about species
- // and equipped items.
+ // and equipped items. (This is probably overkill.)
fprintf(ostat, "%s\n\n", dump_overview_screen(false).c_str());
// Also print the skills, in case they matter.