Mercurial > hg > early-roguelike
diff xrogue/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/xrogue/command.c Sun Oct 24 20:26:21 2021 -0400 +++ b/xrogue/command.c Sun Oct 31 21:35:53 2021 -0400 @@ -320,7 +320,9 @@ } 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 @@ 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') :