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.
This commit is contained in:
John "Elwin" Edwards 2021-10-31 21:35:53 -04:00
parent 2a9d279baa
commit 8a4bf37667
6 changed files with 12 additions and 10 deletions

View file

@ -285,9 +285,9 @@ command(void)
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();