summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/travel.cc2
-rw-r--r--crawl-ref/source/view.cc2
-rw-r--r--crawl-ref/source/view.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 9d6438e299..cb00257661 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -313,7 +313,7 @@ void travel_exclude::set_exclude_show()
{
// ignores clouds
feature_grid fgrid = _map_to_grid(pos);
- losight(show, fgrid, pos, false, true, true);
+ losight(show, fgrid, pos, false, true);
uptodate = true;
}
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 681a26ed34..7fedaa0110 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -2812,7 +2812,7 @@ int num_feats_between(const coord_def& source, const coord_def& target,
// done by updating with a second array.
void losight(env_show_grid &sh,
feature_grid &gr, const coord_def& center,
- bool clear_walls_block, bool ignore_clouds, bool inwards)
+ bool clear_walls_block, bool ignore_clouds)
{
raycast();
const int x_p = center.x;
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index 57ea1baf34..4cba2a9dbb 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -72,7 +72,7 @@ void find_features(const std::vector<coord_def>& features,
void losight(env_show_grid &sh, feature_grid &gr,
const coord_def& center, bool clear_walls_block = false,
- bool ignore_clouds = false, bool inwards = false);
+ bool ignore_clouds = false);
bool magic_mapping(int map_radius, int proportion, bool suppress_msg,