forked from github/server
bug 2068: select familiars by race of mage, not faction.
https://bugs.eressea.de/view.php?id=2068
This commit is contained in:
parent
4d18fe68f8
commit
a2a0bbad6a
|
@ -545,7 +545,7 @@ static int sp_summon_familiar(castorder * co)
|
||||||
cmistake(mage, co->order, 199, MSG_MAGIC);
|
cmistake(mage, co->order, 199, MSG_MAGIC);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
rc = select_familiar(mage->faction->race, mage->faction->magiegebiet);
|
rc = select_familiar(mage->_race, mage->faction->magiegebiet);
|
||||||
if (rc == NULL) {
|
if (rc == NULL) {
|
||||||
log_error("could not find suitable familiar for %s.\n", mage->faction->race->_name);
|
log_error("could not find suitable familiar for %s.\n", mage->faction->race->_name);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue