forked from github/server
still fixing the seeds. mapper comes later
This commit is contained in:
parent
0e0f37d970
commit
e67f9b0892
|
@ -1203,7 +1203,7 @@ allocate_resource(unit * u, const resource_type * rtype, int want)
|
||||||
|
|
||||||
/* momentan kann man keine ressourcen abbauen, wenn man dafür
|
/* momentan kann man keine ressourcen abbauen, wenn man dafür
|
||||||
* Materialverbrauch hat: */
|
* 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)) {
|
if (itype == olditemtype[I_WOOD] && fval(r, RF_MALLORN)) {
|
||||||
cmistake(u, u->thisorder, 92, MSG_PRODUCE);
|
cmistake(u, u->thisorder, 92, MSG_PRODUCE);
|
||||||
|
|
Loading…
Reference in New Issue