From 94efa11e1613a3328378a2e1f9831f144490d434 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 16 Nov 2009 11:35:18 +0100 Subject: Fix information leakage in detect creatures. Also fix tiles giving more information than console version. There's now mons_detected_base, which assigns a base monster type to every monster type based on the default displayed glyph. It just takes the first entry for a given glyph based on the mon-data.h order, so this may need tweaking in some cases. --- crawl-ref/source/show.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/show.h') diff --git a/crawl-ref/source/show.h b/crawl-ref/source/show.h index f21e24ece8..be71529485 100644 --- a/crawl-ref/source/show.h +++ b/crawl-ref/source/show.h @@ -50,7 +50,7 @@ struct show_type show_type(dungeon_feature_type f); show_type(const item_def &item); show_type(show_item_type itemtype); - show_type(const monsters* mons); + show_type(monster_type montype); operator bool() const { return (cls != SH_NOTHING); } -- cgit v1.2.3-54-g00ecf