summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-23 21:28:48 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-23 21:28:48 +0000
commit230e608dbc403a547ef54e98a0b90a7e6af06cb3 (patch)
tree207a2fec2e47ec8f2fbd345999af03581f02a2df
parent2bcedfdf3c59078e54d15d03b3a9473ed4bdd44b (diff)
downloadcrawl-ref-230e608dbc403a547ef54e98a0b90a7e6af06cb3.tar.gz
crawl-ref-230e608dbc403a547ef54e98a0b90a7e6af06cb3.zip
Remove vestiges of a debugging attempt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9542 c06c8d41-db1a-0410-9941-cceddc491573
-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,