forked from github/server
teach familiars magic
This commit is contained in:
parent
11f3b5d727
commit
29f65277d3
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ teach_cmd(unit * u, struct order * ord)
|
|||
* Lehrer seines Gebietes */
|
||||
sc_mage * mage1 = get_mage(u);
|
||||
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) {
|
||||
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "error_different_magic", "target", u2));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue