summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-04 14:51:23 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-04 14:51:23 -0800
commitc6d136cb11c6f33e437a6cd838509afad1effbbc (patch)
tree5dd1be18c7f0ee6e8e2ec02ba577cc4180ae83c3 /crawl-ref/source/makeitem.cc
parent0ae4b3ebec27a790336ec36b0d3ab594d66f620d (diff)
downloadcrawl-ref-c6d136cb11c6f33e437a6cd838509afad1effbbc.tar.gz
crawl-ref-c6d136cb11c6f33e437a6cd838509afad1effbbc.zip
Make tests compile with DEBUG_TESTS.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index aa566ac2e6..5658739397 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -4899,7 +4899,7 @@ void item_set_appearance(item_def &item)
}
}
-#ifdef DEBUG_DIAGNOSTICS
+#if DEBUG_DIAGNOSTICS || DEBUG_TESTS
static int _test_item_level()
{
switch(random2(10))