summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_debug.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-22 17:49:04 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-22 18:49:34 +0100
commit63d646d1fc2cc13456cccaba6cbaff52205803cb (patch)
tree4e6afe1bc19d19a0fb8bbe2d170dd23b50609b6d /crawl-ref/source/l_debug.cc
parent93ce09261f5ea50a84761348f7e5486deb156abe (diff)
downloadcrawl-ref-63d646d1fc2cc13456cccaba6cbaff52205803cb.tar.gz
crawl-ref-63d646d1fc2cc13456cccaba6cbaff52205803cb.zip
Update LOS tests to global los.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r--crawl-ref/source/l_debug.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc
index db3781b13c..61d7fd2745 100644
--- a/crawl-ref/source/l_debug.cc
+++ b/crawl-ref/source/l_debug.cc
@@ -17,6 +17,7 @@
#include "initfile.h"
#include "godwrath.h"
#include "libutil.h"
+#include "losglobal.h"
#include "message.h"
#include "mon-act.h"
#include "mon-iter.h"
@@ -66,6 +67,7 @@ LUAFN(debug_generate_level)
{
no_messages mx;
env.map_knowledge.init(map_cell());
+ invalidate_los();
#ifdef USE_TILE
tile_init_default_flavour();
tile_clear_flavour();