summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 0c6725c3da..35ff2be90e 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -3585,9 +3585,9 @@ void display_char_status()
else
mpr("You are alive.");
- if (you.haloed())
+ const int halo_size = you.halo_radius();
+ if (halo_size > 0)
{
- const int halo_size = halo_radius();
if (halo_size > 6)
mpr("You are illuminated by a large divine halo.");
else if (halo_size > 3)
@@ -6906,11 +6906,6 @@ void player::backlight()
}
}
-bool player::haloed() const
-{
- return (halo_radius());
-}
-
bool player::can_mutate() const
{
return (true);