bug 2068: select familiars by race of mage, not faction.

https://bugs.eressea.de/view.php?id=2068
This commit is contained in:
Enno Rehling 2015-03-13 22:14:01 +01:00
parent 4d18fe68f8
commit a2a0bbad6a
1 changed files with 1 additions and 1 deletions

View File

@ -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;