diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-16 02:04:14 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-16 02:04:14 +0100 |
commit | e398d71d3e5f02d79806554df21de9e29fb627ef (patch) | |
tree | e29fbd10f1233c4a31624f51aa09bce6bc2afd49 /crawl-ref/source/main.cc | |
parent | 91c7e659794944626fd763ea3123d52ee9d2b836 (diff) | |
download | crawl-ref-e398d71d3e5f02d79806554df21de9e29fb627ef.tar.gz crawl-ref-e398d71d3e5f02d79806554df21de9e29fb627ef.zip |
Add pseudocommand CMD_NO_CMD_DEFAULT for overriding the vi keys.
CMD_NO_CMD is handled specially in many different ways, but
the new command's sole purpose is to allow key bindings involving invalid
commands, so as to override the vi keys for players who don't need them,
don't want to replace them with other keys, but are worried about typos
making their character walk into a fatal ambush.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r-- | crawl-ref/source/main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 3d9e0694b2..7d74fef068 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -853,6 +853,7 @@ static bool _cmd_is_repeatable(command_type cmd, bool is_again = false) return (true); case CMD_NO_CMD: + case CMD_NO_CMD_DEFAULT: mpr("Unknown command, not repeating."); return (false); |