diff --git a/src/options.c b/src/options.c index 7371a8ecd..af9eaf652 100644 --- a/src/options.c +++ b/src/options.c @@ -4059,6 +4059,8 @@ char *str; * 0 is an error. */ if (user_specified) { + boolean found = FALSE, numeric = FALSE; + /* force fruit to be singular; this handling is not needed--or wanted--for fruits from bones because they already received it in their original game */ @@ -4069,8 +4071,6 @@ char *str; * to tell the difference) */ - boolean found = FALSE, numeric = FALSE; - for (i = bases[FOOD_CLASS]; objects[i].oc_class == FOOD_CLASS; i++) { if (!strcmp(OBJ_NAME(objects[i]), pl_fruit)) {