permanent wiz_identify correction
wiz_identify (^I) is supposed to bring up the inventory list with the items identified, in contrast to the regular (I) inventory, but only for that inventory display. It is intended that if you then hit ^I again while at that wiz_identify inventory menu, you'll trigger permanent identification of itemsand any other key is supposed to leave them as they were. In tty however, <space> was doing the same thing as the second ^I, and permanently identifying everything. So, for those that like to <space> through menus (like me) this makes it work as originally intended and requires a deliberate second ^I at the menu to permanently identify. (It might also allow trigger permanent ID if you hit underscore, but nobody "underscores" through menus, so that's ok.)
This commit is contained in:
@@ -1912,9 +1912,8 @@ long* out_cnt;
|
||||
any.a_char = -1;
|
||||
/* wiz_identify stuffed the wiz_identify cmd character
|
||||
into iflags.override_ID */
|
||||
Sprintf(prompt, "Debug Identify (%s to permanently identify)",
|
||||
visctrl(iflags.override_ID));
|
||||
add_menu(win, NO_GLYPH, &any,' ', iflags.override_ID, ATR_NONE,
|
||||
Sprintf(prompt, "Debug Identify (%s to permanently identify)",visctrl(iflags.override_ID));
|
||||
add_menu(win, NO_GLYPH, &any,'.', iflags.override_ID, ATR_NONE,
|
||||
prompt, MENU_UNSELECTED);
|
||||
}
|
||||
nextclass:
|
||||
|
||||
Reference in New Issue
Block a user