diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-12-01 09:19:17 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-12-01 09:25:49 +0100 |
commit | 5d616ec6450d21982c204869e04dc4735bc0e88a (patch) | |
tree | 788e1352c32ed27f84b3de97574a22b9bca352ad /crawl-ref/source/state.cc | |
parent | 756ebe7bf6c26c2d2db98cb8725eda00e546fccb (diff) | |
download | crawl-ref-5d616ec6450d21982c204869e04dc4735bc0e88a.tar.gz crawl-ref-5d616ec6450d21982c204869e04dc4735bc0e88a.zip |
Add general formatted_string::add_glyph, remove others.
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r-- | crawl-ref/source/state.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |