diff arogue5/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/arogue5/command.c	Sun Oct 24 20:26:21 2021 -0400
+++ b/arogue5/command.c	Sun Oct 31 21:35:53 2021 -0400
@@ -222,8 +222,8 @@
 		when 'W' : wear();
 		when 'T' : take_off();
 		when 'o' : option();
-		when 'c' : call(FALSE);
-		when 'm' : call(TRUE);
+		when 'c' : after = FALSE; call(FALSE);
+		when 'm' : after = FALSE; call(TRUE);
 		when '>' : after = FALSE; d_level();
 		when '<' : after = FALSE; u_level();
 		when '?' : after = FALSE; help();