From 4973016b5011454ea3648710b604b3c4d0ecec57 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 15 Nov 2009 21:49:09 +0100 Subject: Add get_item_symbol to showsymb. --- crawl-ref/source/showsymb.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/showsymb.cc') diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc index 676673be22..788f78660c 100644 --- a/crawl-ref/source/showsymb.cc +++ b/crawl-ref/source/showsymb.cc @@ -116,6 +116,11 @@ static int _get_mons_colour(const monsters *mons) return (col); } +unsigned get_item_symbol(show_item_type it) +{ + return (get_feature_def(show_type(it)).symbol); +} + glyph get_item_glyph(const item_def *item) { glyph g; -- cgit v1.2.3-54-g00ecf