From 6a883aea39bceefb34718c699ee3877d33b6d2ba Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 8 Nov 2009 10:01:11 +0100 Subject: Add a general halo interface to actor. Also convert the TSO halo to use this. actor::haloed() is still specific to the player TSO halo. --- crawl-ref/source/tilepick.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/tilepick.cc') diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 17dab2ff75..5200803458 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -4762,7 +4762,7 @@ void tile_finish_dngn(unsigned int *tileb, int cx, int cy) if (in_bounds) { bool print_blood = true; - if (inside_halo(gc)) + if (you.inside_halo(gc)) { monsters *mon = monster_at(gc); if (observe_cell(gc) && mon) -- cgit v1.2.3-54-g00ecf