summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-05 03:15:39 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-05 03:15:39 +0000
commita4216190921d3a0912924df441f7cad3752de02a (patch)
tree9c2ab43e3aef4c80ab57ef7501afa7204f416989 /crawl-ref/source/initfile.cc
parent34e3ce6b9b4514f567a10429ffb83bc32547fd17 (diff)
downloadcrawl-ref-a4216190921d3a0912924df441f7cad3752de02a.tar.gz
crawl-ref-a4216190921d3a0912924df441f7cad3752de02a.zip
Graphical support for range restrictions of spells in tiles mode. Clicking past the max range will now fire as far as it can, rather than just giving an error.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7135 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 4dfaf1ac3e..a08ff7d80e 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -2210,7 +2210,9 @@ void game_options::read_option_line(const std::string &str, bool runscript)
}
#endif
else BOOL_OPTION(show_gold_turns);
+#ifndef USE_TILE
else BOOL_OPTION(show_beam);
+#endif
#ifndef SAVE_DIR_PATH
else if (key == "morgue_dir")
{