teach familiars magic

This commit is contained in:
Enno Rehling 2010-01-29 03:29:18 +00:00
parent 11f3b5d727
commit 29f65277d3
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ teach_cmd(unit * u, struct order * ord)
* Lehrer seines Gebietes */ * Lehrer seines Gebietes */
sc_mage * mage1 = get_mage(u); sc_mage * mage1 = get_mage(u);
sc_mage * mage2 = get_mage(u2); sc_mage * mage2 = get_mage(u2);
if (!mage2 || !mage1 || mage1->magietyp!=mage2->magietyp) { if (!mage2 || !mage1 || (mage2->magietyp!=M_GRAY && mage1->magietyp!=mage2->magietyp)) {
if (feedback) { if (feedback) {
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "error_different_magic", "target", u2)); ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "error_different_magic", "target", u2));
} }