forked from github/server
Im Astralraum Bäume zu pflanzen crasht
This commit is contained in:
parent
19a1da4552
commit
afc42b9c4c
|
@ -122,6 +122,7 @@ use_potion(unit * u, const item_type * itype, int amount, const char * cmd)
|
|||
holz = new_use_pooled(u, oldresourcetype[R_WOOD],
|
||||
GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, 10*amount);
|
||||
}
|
||||
if (r->land==0) holz=0;
|
||||
#if GROWING_TREES
|
||||
rsettrees(r, 1, rtrees(r, 1) + holz);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue