From 700f4d873b39f35bfe71ad6238ed41e05e79b13a Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Wed, 4 Nov 2009 22:33:33 +0100 Subject: Run tests of brand validness on "./crawl -test". --- crawl-ref/source/makeitem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/makeitem.h') 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 -- cgit v1.2.3-54-g00ecf