summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-31 09:53:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-31 09:53:38 +0000
commitd68fa20efb1e6b6040cfdd52d307aa7f5073a6a8 (patch)
tree81d826a009c4b8e8f1e650d0f5038be952229317 /crawl-ref/source/initfile.cc
parent02e7394788cbf2791604f7f9ef4e1b7c2869824f (diff)
downloadcrawl-ref-d68fa20efb1e6b6040cfdd52d307aa7f5073a6a8.tar.gz
crawl-ref-d68fa20efb1e6b6040cfdd52d307aa7f5073a6a8.zip
Add an 0.5-only option to remind players that wands are now evoked, with
the message displayed at most once per gaming session and only if you have wands in inventory and haven't evoked one before using 'Z' to cast a spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9858 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 30e77385b6..d11c2e974c 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -993,6 +993,7 @@ void game_options::reset_options()
mon_glyph_overrides.clear();
rest_wait_both = false;
+ zap_evoke_reminder = true;
// Map each category to itself. The user can override in init.txt
kill_map[KC_YOU] = KC_YOU;
@@ -2938,6 +2939,7 @@ void game_options::read_option_line(const std::string &str, bool runscript)
}
}
else BOOL_OPTION(rest_wait_both);
+ else BOOL_OPTION(zap_evoke_reminder);
else if (key == "dump_message_count")
{
// Capping is implicit