From d4d28a2beed3aca3510b39cc8cc55df4852d96ef Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 23 Nov 2009 14:26:11 +0100 Subject: Remove multi-purpose Options.mlist_targetting. The option is now just a boolean option, and whether we're actively targetting with the mlist is stored in crawl_state.mlist_targetting. Also remove some duplication of mlist logic from direction(). --- crawl-ref/source/state.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/state.cc') diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc index 0c19d0513b..3a42af17f9 100644 --- a/crawl-ref/source/state.cc +++ b/crawl-ref/source/state.cc @@ -34,7 +34,11 @@ game_state::game_state() repeat_cmd(CMD_NO_CMD), cmd_repeat_count(0), cmd_repeat_goal(0), prev_repetition_turn(0), cmd_repeat_started_unsafe(false), input_line_curr(0), level_annotation_shown(false), +#ifndef USE_TILE + mlist_targetting(false), +#endif darken_range(-1) + { reset_cmd_repeat(); reset_cmd_again(); -- cgit v1.2.3-54-g00ecf