From 5d616ec6450d21982c204869e04dc4735bc0e88a Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 1 Dec 2009 09:19:17 +0100 Subject: Add general formatted_string::add_glyph, remove others. --- crawl-ref/source/state.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/state.cc') diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc index 3a42af17f9..72f0e4f71d 100644 --- a/crawl-ref/source/state.cc +++ b/crawl-ref/source/state.cc @@ -20,6 +20,7 @@ #include "mon-util.h" #include "player.h" #include "religion.h" +#include "showsymb.h" #include "state.h" #include "tutorial.h" @@ -228,7 +229,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai, #else formatted_string fs( channel_to_colour(MSGCH_WARN) ); fs.cprintf("%s (", mon->name(DESC_PLAIN, true).c_str()); - fs.add_glyph( mon ); + fs.add_glyph(get_mons_glyph(mon)); fs.cprintf(") in view: (%d,%d), see_cell: %s", mon->pos().x, mon->pos().y, you.see_cell(mon->pos())? "yes" : "no"); -- cgit v1.2.3-54-g00ecf