I haven't been active in the past decade, but here's a small patch. Main
branch only. This adds a check when setting a new fruit so that if no fruits have been created since the last time the option has been set, the current fruit is overwritten. Result: the user cannot repeatedly set the fruit option and overflow the maximum fruit number.
This commit is contained in:
@@ -1610,7 +1610,7 @@ E int NDECL(doset);
|
||||
E int NDECL(dotogglepickup);
|
||||
E void NDECL(option_help);
|
||||
E void FDECL(next_opt, (winid,const char *));
|
||||
E int FDECL(fruitadd, (char *));
|
||||
E int FDECL(fruitadd, (char *,struct fruit *));
|
||||
E int FDECL(choose_classes_menu, (const char *,int,BOOLEAN_P,char *,char *));
|
||||
E void FDECL(add_menu_cmd_alias, (CHAR_P, CHAR_P));
|
||||
E char FDECL(map_menu_cmd, (CHAR_P));
|
||||
|
||||
Reference in New Issue
Block a user