From f24effa7e6806e80cca64a04a480e56b539c6999 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 9 May 2009 17:50:45 +0000 Subject: * Monsters shout only when they notice you (i.e. you are in sight). * Add a tile for out of range grids (lighter shade than out of sight). * Make Xom's repel stairs effect only happen during tension. * Add Z to keybind.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9755 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index db9b688ebf..e0fe414bde 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -973,7 +973,8 @@ static void _grab_followers() if (fmenv->type == MONS_PLAYER_GHOST && fmenv->hit_points < fmenv->max_hit_points / 2) { - mpr("The ghost fades into the shadows."); + if (player_monster_visible(fmenv)) + mpr("The ghost fades into the shadows."); monster_teleport(fmenv, true); } } -- cgit v1.2.3-54-g00ecf