diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 14 |
1 files changed, 7 insertions, 7 deletions
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)) |