From b4a349bc6f6c9b4e3800dccc36468b94cb0fab62 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 14 Oct 2009 12:25:27 +0200 Subject: Clean up. Made some functions "static" and improved quadrant flipping. --- crawl-ref/source/los.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/los.cc') 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& ray) +static int _imbalance(const std::vector& ray) { int imb = 0; int diags = 0, straights = 0; -- cgit v1.2.3-54-g00ecf