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/describe.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 19783947ab..2239229119 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -3146,9 +3146,9 @@ static std::string _religion_help(god_type god) case GOD_SHINING_ONE: result += "You can pray at an altar to sacrifice evil items."; - if (you.haloed()) + int halo_size = you.halo_radius(); + if (halo_size > 0) { - int halo_size = halo_radius(); result += "You radiate a "; if (halo_size > 6) -- cgit v1.2.3-54-g00ecf