Created
July 17, 2018 15:53
-
-
Save kototama/19c514e69c89b464067507099d5b64ec to your computer and use it in GitHub Desktop.
How to change direction keys in NetHack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cmd.c b/src/cmd.c | |
index d7303ec..44bc0b5 100644 | |
--- a/src/cmd.c | |
+++ b/src/cmd.c | |
@@ -3927,7 +3927,8 @@ void | |
reset_commands(initial) | |
boolean initial; | |
{ | |
- static const char sdir[] = "hykulnjb><", | |
+ static const char sdir [] = "nluyi.eh><", | |
sdir_swap_yz[] = "hzkulnjb><", | |
ndir[] = "47896321><", | |
ndir_phone_layout[] = "41236987><"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment