summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-04 22:33:33 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-04 22:48:13 +0100
commit700f4d873b39f35bfe71ad6238ed41e05e79b13a (patch)
treec08cc514b596fab15a8dbceb84e3eab6bdc09aa7 /crawl-ref/source/makeitem.h
parent2fa5820369c3918944436bd1f96f46346190c478 (diff)
downloadcrawl-ref-700f4d873b39f35bfe71ad6238ed41e05e79b13a.tar.gz
crawl-ref-700f4d873b39f35bfe71ad6238ed41e05e79b13a.zip
Run tests of brand validness on "./crawl -test".
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index ad986a159f..4aaa150d6d 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -35,4 +35,8 @@ void item_set_appearance(item_def &item);
bool is_weapon_brand_ok(int type, int brand);
bool is_armour_brand_ok(int type, int brand);
+
+#ifdef DEBUG_DIAGNOSTICS
+void makeitem_tests();
+#endif
#endif