bugfix: korrekter namespace für namen von zaubern

This commit is contained in:
Enno Rehling 2002-05-05 10:30:37 +00:00
parent 372714f291
commit bfee7af458
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ init_spellnames(const struct locale * lang)
sn->lang = lang; sn->lang = lang;
for (i=0; spelldaten[i].id != SPL_NOSPELL; i++) { for (i=0; spelldaten[i].id != SPL_NOSPELL; i++) {
const char * n = spelldaten[i].sname; const char * n = spelldaten[i].sname;
if (spelldaten[i].info==NULL) n = locale_string(lang, n); if (spelldaten[i].info==NULL) n = locale_string(lang, mkname("spell", n));
addtoken(&sn->names, n, (void*)(spelldaten+i)); addtoken(&sn->names, n, (void*)(spelldaten+i));
} }
return spellnames = sn; return spellnames = sn;