forked from github/server
bugfix: korrekter namespace für namen von zaubern
This commit is contained in:
parent
372714f291
commit
bfee7af458
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue