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:
@@ -76,6 +76,7 @@ struct flag {
|
||||
char end_disclose[NUM_DISCLOSURE_OPTIONS + 1]; /* disclose various info
|
||||
upon exit */
|
||||
char menu_style; /* User interface style setting */
|
||||
boolean made_fruit; /* don't easily let the user overflow the number of fruits */
|
||||
|
||||
/* KMH, role patch -- Variables used during startup.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user