forked from github/server
Bugfix bei der Aufloesung von Vertrauten-Zaubern
This commit is contained in:
parent
3071cdb322
commit
673bcd4efd
|
@ -602,7 +602,7 @@ find_spellbyname(unit *u, const char *name, const struct locale * lang)
|
|||
if (findtoken(&sn->names, name, (void**)&sp)==E_TOK_NOMATCH) {
|
||||
magic_t mtype;
|
||||
for(mtype=0;mtype!=MAXMAGIETYP;++mtype) {
|
||||
sn = get_spellnames(lang, m->magietyp);
|
||||
sn = get_spellnames(lang, mtype);
|
||||
if (findtoken(&sn->names, name, (void**)&sp)!=E_TOK_NOMATCH) break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue