Remove wrong attempt to load a translated txt file associated with the player model (it never worked because the input string of language_filename is a pattern (models/player/*_*.txt), not a specific file name)
case "reserved": get_model_parameters_species = SPECIES_RESERVED; break;
}
if(c == "sex")
+ {
+ if (s == "Male") s = _("Male");
+ else if (s == "Female") s = _("Female");
+ else if (s == "Undisclosed") s = _("Undisclosed");
get_model_parameters_sex = s;
+ }
if(c == "weight")
get_model_parameters_weight = stof(s);
if(c == "age")
int i;
string fn;
- float glob = search_begin(language_filename(get_model_datafilename(string_null, -1, "txt")), true, true);
+ float glob = search_begin(get_model_datafilename(string_null, -1, "txt"), true, true);
if (glob < 0)
return;