diff --git a/src/role.c b/src/role.c index d8bc060b0..a83e45706 100644 --- a/src/role.c +++ b/src/role.c @@ -1387,7 +1387,15 @@ root_plselection_prompt( if (alignnum != ROLE_NONE && alignnum != ROLE_RANDOM && ok_align(rolenum, racenum, gendnum, alignnum)) { +#if 0 /* 'if' and 'else' had duplicate code here; probably a copy+parse + * oversight; if a problem with filtering of random role selection + * crops up, this is probably the place to start looking */ + /* if race specified, and multiple choice of alignments for it */ + if ((racenum >= 0) && (aligncount > 1)) { + } else { + } +#endif /* the four lines of code below were in both 'if' and 'else' above */ if (donefirst) Strcat(buf, " "); Strcat(buf, aligns[alignnum].adj);