diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 11:35:18 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 12:19:59 +0100 |
commit | 94efa11e1613a3328378a2e1f9831f144490d434 (patch) | |
tree | 251c872158ffa4be53f8c0a0b52007b033d7820b /crawl-ref/source/show.h | |
parent | 975e3a88520ca52bd5f8fcfb8ecda505d823a561 (diff) | |
download | crawl-ref-94efa11e1613a3328378a2e1f9831f144490d434.tar.gz crawl-ref-94efa11e1613a3328378a2e1f9831f144490d434.zip |
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.
Diffstat (limited to 'crawl-ref/source/show.h')
-rw-r--r-- | crawl-ref/source/show.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |