]> granicus.if.org Git - nethack/commit
permanent wiz_identify correction
authornhmall <mjnh@persona.ca>
Sat, 2 May 2015 22:04:20 +0000 (18:04 -0400)
committernhmall <mjnh@persona.ca>
Sat, 2 May 2015 22:04:20 +0000 (18:04 -0400)
commitbe643386c5387cee88308e365f174e285c867335
tree228b105edef813aedab43719cf4ba4886cc10fe3
parentd44e55b9a2c9e7c5ce3479161f30d45f4ad3d333
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.)
src/invent.c