summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shout.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-05 05:46:37 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-05 07:03:12 +0100
commita64525a6adf4aed6bc899ed25b889a5881201a65 (patch)
treeca53bb078a96e8114459e859e5daa7a41ee0d08c /crawl-ref/source/shout.cc
parent748cab26b797272214374b0ae6bf673de93d2213 (diff)
downloadcrawl-ref-a64525a6adf4aed6bc899ed25b889a5881201a65.tar.gz
crawl-ref-a64525a6adf4aed6bc899ed25b889a5881201a65.zip
Get rid of a strange accessor.
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r--crawl-ref/source/shout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc
index c8a001ac6d..0ee12100d7 100644
--- a/crawl-ref/source/shout.cc
+++ b/crawl-ref/source/shout.cc
@@ -560,7 +560,7 @@ static const char* _player_vampire_smells_blood(int dist)
if (dist < 16) // 4*4
return " near-by";
- if (you.hunger_state <= HS_NEAR_STARVING && dist > get_los_radius_sq())
+ if (you.hunger_state <= HS_NEAR_STARVING && dist > los_radius2)
return " in the distance";
return "";