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-07-20 19:32:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 19:32:38 +0000
commitc917efe2ecd38f449619d7b25160c8053b81e108 (patch)
treec0c482a7dd4eff5c01b768685a982ae9ea6ff6b3 /crawl-ref/source/initfile.cc
parent0da6681bc0a2f308f9bca6e030adf9a54bc3b959 (diff)
downloadcrawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.tar.gz
crawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.zip
Use ETC_MAGIC for beam animations with unknown effect, so we don't
accidentally leak information about unID'd wands etc. Some additional space fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10358 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index eeb349a65b..3aa40954c6 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -1856,7 +1856,7 @@ static void _bindkey(std::string field)
}
else if (key_str.length() == 2)
{
- if(key_str[0] != '^')
+ if (key_str[0] != '^')
{
mprf(MSGCH_ERROR, "Invalid key '%s' in bindkey directive '%s'",
key_str.c_str(), field.c_str());
@@ -3178,7 +3178,7 @@ void game_options::read_option_line(const std::string &str, bool runscript)
}
#endif
- else if(key == "bindkey")
+ else if (key == "bindkey")
{
_bindkey(field);
}