summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 656f3b4717..394ee1d96a 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -523,7 +523,7 @@ static bool _superior_ray(int shortest, int imbalance,
// in the ray. This is a reasonable measure of deviation from
// the Bresenham line between our selected source and
// destination.
-int _imbalance(const std::vector<coord_def>& ray)
+static int _imbalance(const std::vector<coord_def>& ray)
{
int imb = 0;
int diags = 0, straights = 0;