fix yet another weird use of the part of speech enum

develop
Ben Lubar 2020-02-18 16:41:39 -06:00
parent 0d36e62d81
commit d149763c1e
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 1 additions and 1 deletions

@ -576,7 +576,7 @@ namespace unit_ops {
for (int i = 0; i < 2; i++)
{
if (name.words[i] >= 0)
ret += world->raws.language.words[name.words[i]]->forms[name.parts_of_speech[i].value];
ret += world->raws.language.words[name.words[i]]->forms[name.parts_of_speech[i]];
}
return Translation::capitalize(ret);
}