diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-23 02:00:41 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-23 02:00:57 -0800 |
commit | 00752442e1b5b84a85c4cdccbeba94de13da4b4b (patch) | |
tree | 475367a6a544c781438443de5ec86882716bdb22 /crawl-ref/source/misc.cc | |
parent | 6dbc0873be52938ffb7239d8922ccb747f06d432 (diff) | |
download | crawl-ref-00752442e1b5b84a85c4cdccbeba94de13da4b4b.tar.gz crawl-ref-00752442e1b5b84a85c4cdccbeba94de13da4b4b.zip |
Make monster-info pane work in arena
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 47da2dcd13..ac4498fd4a 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2841,6 +2841,8 @@ std::vector<monsters*> get_nearby_monsters(bool want_move, bool require_visible, int range) { + ASSERT(!crawl_state.arena); + if (range == -1) range = LOS_RADIUS; |