This commit is contained in:
Enno Rehling 2009-07-13 22:15:36 +00:00
parent 3b2e28402b
commit d7a470b299

View file

@ -465,12 +465,9 @@ recruit_cost(const faction * f, const race * rc)
{
if (is_monsters(f) || f->race==rc) {
return rc->recruitcost;
} else {
const char * str = get_param(f->race->parameters, "other_race");
if (str && strcmp(rc->_name[0], str)==0) {
return rc->recruitcost;
} else if (valid_race(f, rc)) {
return rc->recruitcost;
/* return get_param_int(f->race->parameters, "other_cost", -1); */
}
}
return -1;
}