diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-14 15:18:04 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-14 15:18:04 +0000 |
commit | 56ec9dd2047b94176d719cbb06bb8361f4f4d166 (patch) | |
tree | 45a4f562b2c38a6bd61761cf6b5ee2620e29019c /crawl-ref/source/tilepick.cc | |
parent | 61b8176337742ccaa81d0bd1f45e3dde3c44223b (diff) | |
download | crawl-ref-56ec9dd2047b94176d719cbb06bb8361f4f4d166.tar.gz crawl-ref-56ec9dd2047b94176d719cbb06bb8361f4f4d166.zip |
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
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 11 |
1 files changed, 1 insertions, 10 deletions
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 { |