Merge pull request #158 from badgerman/develop

bug 2068: select familiars by race of mage, not faction.
This commit is contained in:
Enno Rehling 2015-03-13 23:01:25 +01:00
commit 878a7394a9
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;