changeset 3:e551d384f7c6

Rest on '.' instead of ' ', like all the other roguelikes
author edwarj4
date Thu, 15 Oct 2009 01:22:54 +0000
parents e676d52b5d09
children ca928738f2a0
files rogue3/command.c rogue3/init.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rogue3/command.c	Wed Oct 14 11:21:33 2009 +0000
+++ b/rogue3/command.c	Thu Oct 15 01:22:54 2009 +0000
@@ -96,7 +96,7 @@
 		    case 'H': case 'J': case 'K': case 'L':
 		    case 'Y': case 'U': case 'B': case 'N':
 		    case 'q': case 'r': case 's': case 'f':
-		    case 't': case 'C': case 'I': case ' ':
+		    case 't': case 'C': case 'I': case '.':
 		    case 'z': case 'p':
 			break;
 		    default:
@@ -191,7 +191,7 @@
 			endwin();
 			exit(0);
 		    }
-		when ' ' : ;			/* Rest command */
+		when '.' : ;			/* Rest command */
 		when CTRL('P') :
 		    after = FALSE;
 		    if (wizard)
--- a/rogue3/init.c	Wed Oct 14 11:21:33 2009 +0000
+++ b/rogue3/init.c	Thu Oct 15 01:22:54 2009 +0000
@@ -572,7 +572,7 @@
     'z',	"	zap a wand or staff",
     '>',	"	go down a staircase",
     's',	"	search for trap/secret door",
-    ' ',	"	(space) rest for a while",
+    '.',	"	rest for a turn",
     'i',	"	inventory",
     'I',	"	inventory single item",
     'q',	"	quaff potion",