summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-08 10:01:11 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-08 10:02:38 +0100
commit6a883aea39bceefb34718c699ee3877d33b6d2ba (patch)
tree7dfc750f9da300c069643661ec329b969515c897 /crawl-ref/source/tilepick.cc
parent14710e6fd41d63a20a68342b6604d48de3a6b621 (diff)
downloadcrawl-ref-6a883aea39bceefb34718c699ee3877d33b6d2ba.tar.gz
crawl-ref-6a883aea39bceefb34718c699ee3877d33b6d2ba.zip
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.
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 1 insertions, 1 deletions
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)