summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-20 20:46:09 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-20 20:46:09 +0100
commitc629943d8dc7204e8c9177f5dd6b81a0009b82fc (patch)
treeceb5ef92e3e43671eadb60479a314d1183ed3cbb /crawl-ref/source/libw32c.cc
parent70713b3f46d5ecebbda98681014135ef113ec3ea (diff)
downloadcrawl-ref-c629943d8dc7204e8c9177f5dd6b81a0009b82fc.tar.gz
crawl-ref-c629943d8dc7204e8c9177f5dd6b81a0009b82fc.zip
Fix #3535: Buggy movement keys for Windows consoles.
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r--crawl-ref/source/libw32c.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index 4bd90d9508..c97f9ec21d 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -650,12 +650,12 @@ static int vk_tr[4][VKEY_MAPPINGS] = // virtual key, unmodified, shifted, contro
static int ck_tr[] =
{
- 'k', 'j', 'h', 'l', '0', 'y', 'b', '.', 'u', 'n',
- // 'b', 'j', 'n', 'h', '.', 'l', 'y', 'k', 'u' ,
- '8', '2', '4', '6', '0', '7', '1', '5', '9', '3',
- // '1', '2', '3', '4', '5', '6', '7', '8', '9' ,
- 11, 10, 8, 12, '0', 25, 2, 0, 21, 14
- // 2, 10, 14, 8, 0, 12, 25, 11, 21 ,
+ 'k', 'j', 'h', 'l', '0', 'y', 'b', '.', 'u', 'n', '0',
+ // 'b', 'j', 'n', 'h', '.', 'l', 'y', 'k', 'u', (autofight)
+ '8', '2', '4', '6', '0', '7', '1', '5', '9', '3', '0',
+ // '1', '2', '3', '4', '5', '6', '7', '8', '9', (non-move autofight)
+ 11, 10, 8, 12, '0', 25, 2, 0, 21, 14, '0',
+ // 2, 10, 14, 8, 0, 12, 25, 11, 21,
};
static int key_to_command(int keyin)