fix buglist entry: menu upon request
For "traditional" menu style, pickup and #loot/apply can't accept an 'm' response to bring up a menu upon request when all items involved are of the same class, because the prompt where that response is allowed only gets issued when multiple classes are present.
This commit is contained in:
@@ -1444,10 +1444,10 @@ E void NDECL(getlock);
|
||||
|
||||
#ifdef GOLDOBJ
|
||||
E int FDECL(collect_obj_classes,
|
||||
(char *,struct obj *,BOOLEAN_P,boolean FDECL((*),(OBJ_P))));
|
||||
(char *,struct obj *,BOOLEAN_P,boolean FDECL((*),(OBJ_P)), int *));
|
||||
#else
|
||||
E int FDECL(collect_obj_classes,
|
||||
(char *,struct obj *,BOOLEAN_P,BOOLEAN_P,boolean FDECL((*),(OBJ_P))));
|
||||
(char *,struct obj *,BOOLEAN_P,BOOLEAN_P,boolean FDECL((*),(OBJ_P)), int *));
|
||||
#endif
|
||||
E void FDECL(add_valid_menu_class, (int));
|
||||
E boolean FDECL(allow_all, (struct obj *));
|
||||
|
||||
@@ -165,6 +165,8 @@ struct instance_flags {
|
||||
boolean window_inited; /* true if init_nhwindows() completed */
|
||||
boolean vision_inited; /* true if vision is ready */
|
||||
boolean menu_tab_sep; /* Use tabs to separate option menu fields */
|
||||
boolean menu_requested; /* Flag for overloaded use of 'm' prefix
|
||||
* on some non-move commands */
|
||||
int purge_monsters; /* # of dead monsters still on fmon list */
|
||||
int *opt_booldup; /* for duplication of boolean opts in config file */
|
||||
int *opt_compdup; /* for duplication of compound opts in config file */
|
||||
|
||||
Reference in New Issue
Block a user