summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-23 14:26:11 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-23 14:27:38 +0100
commitd4d28a2beed3aca3510b39cc8cc55df4852d96ef (patch)
tree6e9509817464bcf55dc7a77b353bbcc09834847d /crawl-ref/source/state.cc
parentf88703cc64bbc7cabdcc2e08462b56988195376c (diff)
downloadcrawl-ref-d4d28a2beed3aca3510b39cc8cc55df4852d96ef.tar.gz
crawl-ref-d4d28a2beed3aca3510b39cc8cc55df4852d96ef.zip
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().
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc4
1 files changed, 4 insertions, 0 deletions
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();