From c262f0a60de06dee8cc7210bf207575a73232445 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 21 Nov 2009 13:22:01 +0100 Subject: Hack player::los for arena. This should fix recent arena display problems. Also fix los_def::in_bounds to translate coordinates. --- crawl-ref/source/los_def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/los_def.h') diff --git a/crawl-ref/source/los_def.h b/crawl-ref/source/los_def.h index 82a82f6447..d9841cea96 100644 --- a/crawl-ref/source/los_def.h +++ b/crawl-ref/source/los_def.h @@ -11,6 +11,7 @@ class los_def coord_def center; opacity_func const * opc; circle_def bds; + bool arena; public: los_def(); @@ -21,6 +22,7 @@ public: los_def& operator=(const los_def& l); void init(const coord_def& center, const opacity_func& o, const circle_def& b); + void init_arena(const coord_def& center); void set_center(const coord_def& center); void set_opacity(const opacity_func& o); void set_bounds(const circle_def& b); -- cgit v1.2.3-54-g00ecf