diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-06-07 17:49:09 +0200 |
commit | 4cdbbd83d0030f6fa21e339dbd2d9b65604882e1 (patch) | |
tree | 8a9ad9c586f54704acaef5e6517c15b389b7a239 /src/xtra2.cc | |
parent | 82936c32458b8d8312a4fdfce8b2d8274f493872 (diff) |
Remove expand_{list,look} options; behave as if always set
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r-- | src/xtra2.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc index 8b76400d..07a8d571 100644 --- a/src/xtra2.cc +++ b/src/xtra2.cc @@ -4093,9 +4093,6 @@ static void target_set_prepare(int mode) { cave_type *c_ptr = &cave[y][x]; - /* Require line of sight, unless "look" is "expanded" */ - if (!expand_look && !player_has_los_bold(y, x)) continue; - /* Require "interesting" contents */ if (!target_set_accept(y, x)) continue; @@ -4729,7 +4726,6 @@ bool_ target_set(int mode) if (++m == temp_n) { m = 0; - if (!expand_list) done = TRUE; } break; } @@ -4739,7 +4735,6 @@ bool_ target_set(int mode) if (m-- == 0) { m = temp_n - 1; - if (!expand_list) done = TRUE; } break; } |