From 56ec9dd2047b94176d719cbb06bb8361f4f4d166 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 14 Feb 2009 15:18:04 +0000 Subject: Making tutorial and named monster tags consistent. Also, making tooltips not disappear until the mouse moves to another square, to address [2564067]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9062 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilepick.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'crawl-ref/source/tilepick.cc') diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index a034c7f3e2..7f23c07988 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -4426,16 +4426,7 @@ void tile_place_monster(int gx, int gy, int idx, bool foreground, bool detected) if (mon->type == MONS_PANDEMONIUM_DEMON) return; - if (mon->type == MONS_PLAYER_GHOST) - { - // Beautification hack. "Foo's ghost" is a little bit - // verbose as a tag. "Foo" on its own should be sufficient. - tiles.add_text_tag(TAG_NAMED_MONSTER, mon->mname, gc); - } - else - { - tiles.add_text_tag(TAG_NAMED_MONSTER, mon->name(DESC_PLAIN), gc); - } + tiles.add_text_tag(TAG_NAMED_MONSTER, mon); } else { -- cgit v1.2.3-54-g00ecf