X11 persistent inventory again: initial display
If 'perm_invent' is preset in player's options, have X11 show the persistent inventory window from the start instead of waiting for an 'i' command. moveloop() prolog needed a tweak do deal with it cleanly. Require WC_PERM_INVENT in order to honor the perm_invent option. X11 and curses already set that, tty and curses don't support it, so only Windows GUI needed to be updated for it.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
Starting or restoring a game with 'perm_invent' enabled via config file
|
||||
or NETHACKOPTIONS does not begin with inventory shown.
|
||||
|
||||
When persistent inventory window is first populated, focus is given to
|
||||
its window (behavior might be window manager-specific; it happens with
|
||||
default window manager on OSX). Focus should be explicitly directed
|
||||
|
||||
Reference in New Issue
Block a user