Silence strangemood warnings

develop
lethosor 2020-07-11 01:41:38 -04:00
parent 9284daaf89
commit c30d27cfbd
1 changed files with 3 additions and 0 deletions

@ -314,6 +314,9 @@ void generateName(df::language_name &output, int language, df::language_name_typ
if (rng.df_trandom(100)) if (rng.df_trandom(100))
selectWord(table2, output.words[4], output.parts_of_speech[4], 4); selectWord(table2, output.words[4], output.parts_of_speech[4], 4);
break; break;
default:
// not handled yet
break;
} }
if (output.words[2] != -1 && output.words[3] != -1 && if (output.words[2] != -1 && output.words[3] != -1 &&
world->raws.language.words[output.words[3]]->adj_dist < world->raws.language.words[output.words[2]]->adj_dist) world->raws.language.words[output.words[3]]->adj_dist < world->raws.language.words[output.words[2]]->adj_dist)