Rassnfix an der korrektne stelle

This commit is contained in:
Enno Rehling 2002-03-10 12:34:34 +00:00
parent c44db47b0b
commit 711dbd8899
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ read_newfactions(const char * filename)
nf = calloc(sizeof(newfaction), 1); nf = calloc(sizeof(newfaction), 1);
nf->email = strdup(email); nf->email = strdup(email);
nf->race = rc_find(race); nf->race = rc_find(race);
if (nf->race==NULL) nf->race = findrace(race, default_locale);
nf->lang = find_locale(lang); nf->lang = find_locale(lang);
nf->bonus = bonus; nf->bonus = bonus;
assert(nf->race && nf->email && nf->lang); assert(nf->race && nf->email && nf->lang);