diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 17:57:44 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 17:57:44 +0000 |
commit | dc0d3186c32b1048544a6cd9734361901eaa03cf (patch) | |
tree | 0c181285fbd0b270c67a03dde2946f412a225ef1 /crawl-ref/source/spells3.cc | |
parent | e32b063aebf33c3a4de56491806fc86686cf260b (diff) | |
download | crawl-ref-dc0d3186c32b1048544a6cd9734361901eaa03cf.tar.gz crawl-ref-dc0d3186c32b1048544a6cd9734361901eaa03cf.zip |
In halo_radius(), use LOS_RADIUS properly instead of hardcoding its
value.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6000 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index bf096de326..95ee7797f7 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1733,7 +1733,7 @@ int halo_radius() if (you.religion == GOD_SHINING_ONE && you.piety >= piety_breakpoint(0) && !you.penance[GOD_SHINING_ONE]) { - return std::min(8, you.piety / 20); + return std::min(LOS_RADIUS, you.piety / 20); } return 0; |