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

@ -320,7 +320,9 @@ command(void)
}
when 'i' : after = FALSE; inventory(pack, ALL);
when 'I' : after = FALSE; picky_inven();
when 'm' : nameitem((struct linked_list *)NULL, TRUE);
when 'm' :
after = FALSE;
nameitem((struct linked_list *)NULL, TRUE);
when 'o' : option();
when 'O' : msg("Charactor type: %s Quest item: %s", char_class[char_type].name, rel_magic[quest_item].mi_name);
when ',' :
@ -398,7 +400,7 @@ command(void)
food_left);
when CTRL('L') : after = FALSE; clearok(curscr, TRUE);
touchwin(cw);
when CTRL('N') : nameit();
when CTRL('N') : after = FALSE; nameit();
when CTRL('O') : after = FALSE; opt_player();
when CTRL('R') : after = FALSE; msg(huh);
when CTRL('T') :