(old eressea binaries)

this is still crashing, but not due to familiars, i think.
This commit is contained in:
Enno Rehling 2006-02-09 20:06:31 +00:00
parent b654c89773
commit 2db05460a3

View file

@ -535,7 +535,10 @@ select_familiar(const race * magerace, magic_t magiegebiet)
retval = magerace->familiars[magiegebiet];
}
assert (retval==NULL || retval->init_familiar!=NULL);
assert (retval!=NULL);
if (retval->init_familiar!=NULL) {
return NULL;
}
return retval;
}