Test framework broken, we were adding the wrong spell with the right name.

This commit is contained in:
Enno Rehling 2011-02-26 10:07:49 -08:00
parent 4fa45d6449
commit 665d4aec4d
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ static void
unit_addspell(unit * u, const char * name)
{
sc_mage * m = get_mage(u);
spell * spadd = find_spell(M_NONE, name);
spell * spadd = find_spell(m->magietyp, name);
if (!spadd) log_error(("spell %s could not be found\n", name));
else {