diff arogue7/command.c @ 316:c03d0b87211c

Naming items should not use up a turn. This was fixed by adding "after = FALSE;" to the relevant cases in command(). Rogue V4 and V5 are not affected.
author John "Elwin" Edwards
date Sun, 31 Oct 2021 21:35:53 -0400
parents 32bc72dcbf4f
children
line wrap: on
line diff
--- a/arogue7/command.c	Sun Oct 24 20:26:21 2021 -0400
+++ b/arogue7/command.c	Sun Oct 31 21:35:53 2021 -0400
@@ -285,9 +285,9 @@
 		    when C_WEAR : wear();
 		    when C_TAKEOFF : take_off();
 		    when 'o' : option();
-		    when CTRL('N') : nameit();
+		    when CTRL('N') : after = FALSE; nameit();
 		    when '=' : after = FALSE; display();
-		    when 'm' : nameitem(NULL, TRUE);
+		    when 'm' : after = FALSE; nameitem(NULL, TRUE);
 		    when '>' : after = FALSE; d_level();
 		    when '<' : after = FALSE; u_level();
 		    when '?' : after = FALSE; help();