From dae931699043dca46c7617bf182d1216b1d35e99 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 18:13:37 -0600 Subject: Reorder a few functions. --- crawl-ref/source/player.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index c1615cd205..7814a4da7c 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6378,6 +6378,13 @@ mon_holy_type player::holiness() const return (MH_NATURAL); } +bool player::is_unholy() const +{ + const mon_holy_type holi = holiness(); + + return (holi == MH_UNDEAD || holi == MH_DEMONIC); +} + bool player::is_evil() const { if (is_unholy()) @@ -6389,13 +6396,6 @@ bool player::is_evil() const return (false); } -bool player::is_unholy() const -{ - const mon_holy_type holi = holiness(); - - return (holi == MH_UNDEAD || holi == MH_DEMONIC); -} - bool player::is_chaotic() const { if (is_chaotic_god(religion)) -- cgit v1.2.3-54-g00ecf