diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-04 14:51:23 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-04 14:51:23 -0800 |
commit | c6d136cb11c6f33e437a6cd838509afad1effbbc (patch) | |
tree | 5dd1be18c7f0ee6e8e2ec02ba577cc4180ae83c3 /crawl-ref/source/makeitem.cc | |
parent | 0ae4b3ebec27a790336ec36b0d3ab594d66f620d (diff) | |
download | crawl-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.cc | 2 |
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)) |