From c445c5a6f661d292563c4e7a45e712c4550499ad Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 18 Apr 2008 21:33:44 +0000 Subject: Improve halo-related output. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4345 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/religion.cc') diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index e447437618..6b803b434c 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -480,7 +480,7 @@ static void _inc_penance(god_type god, int val) // nor does TSO's halo or divine shield else if (god == GOD_SHINING_ONE) { - if (halo_radius()) + if (you.haloed()) mpr("Your divine halo fades away."); if (you.duration[DUR_DIVINE_SHIELD]) @@ -3901,7 +3901,7 @@ void excommunication(god_type new_god) const god_type old_god = you.religion; ASSERT(old_god != new_god); - const bool old_halo = halo_radius(); + const bool was_haloed = you.haloed(); god_acting gdact(old_god, true); @@ -4000,7 +4000,7 @@ void excommunication(god_type new_god) break; case GOD_SHINING_ONE: - if (old_halo) + if (was_haloed) mpr("Your divine halo fades away."); if (you.duration[DUR_DIVINE_SHIELD]) -- cgit v1.2.3-54-g00ecf