still fixing the seeds. mapper comes later

This commit is contained in:
Enno Rehling 2005-10-26 19:47:28 +00:00
parent 0e0f37d970
commit e67f9b0892
1 changed files with 1 additions and 1 deletions

View File

@ -1203,7 +1203,7 @@ allocate_resource(unit * u, const resource_type * rtype, int want)
/* momentan kann man keine ressourcen abbauen, wenn man dafür
* Materialverbrauch hat: */
assert(itype!=NULL && itype->construction->materials==NULL);
assert(itype!=NULL && (itype->construction==NULL || itype->construction->materials==NULL));
if (itype == olditemtype[I_WOOD] && fval(r, RF_MALLORN)) {
cmistake(u, u->thisorder, 92, MSG_PRODUCE);