summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:20:35 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:22:17 +0100
commit11670ba75fa20fc3b5860eb2474aba6157c6e114 (patch)
treef87e5b811b99716a18b86469f297365987f35f71 /crawl-ref/source/los.cc
parentd21b754210905c4bf50e0c346d820b3d8b1af01c (diff)
downloadcrawl-ref-11670ba75fa20fc3b5860eb2474aba6157c6e114.tar.gz
crawl-ref-11670ba75fa20fc3b5860eb2474aba6157c6e114.zip
Replace calc_show_los by you.update_los.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 9a3354eac0..d6a8eabcd5 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -898,9 +898,3 @@ void losight(los_grid& sh, const coord_def& center,
{
losight(sh, los_param_funcs(center, opc, bounds));
}
-
-void calc_show_los()
-{
- if (!crawl_state.arena && !crawl_state.arena_suspended)
- you.update_los();
-}