From 050ad8a6b955cb29b4eb337ba07399da1fb6c3b0 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 16:42:31 +0200 Subject: Make default LOS configurable. Setting LOS_RADIUS in defines.h now works. Fixed a couple of things to allow this, including an apparent off-by-one error in crawl_view -- not quite sure this doesn't break anything. --- crawl-ref/source/newgame.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/newgame.cc') diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index 258a013871..eb00c2d95a 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -1297,8 +1297,8 @@ game_start: // Before we get into the inventory init, set light radius based // on species vision. Currently, all species see out to 8 squares. - you.normal_vision = 8; - you.current_vision = 8; + you.normal_vision = LOS_RADIUS; + you.current_vision = LOS_RADIUS; _jobs_stat_init( you.char_class ); _give_last_paycheck( you.char_class ); -- cgit v1.2.3-54-g00ecf