Im Astralraum Bäume zu pflanzen crasht

This commit is contained in:
Enno Rehling 2004-06-20 00:00:30 +00:00
parent 19a1da4552
commit afc42b9c4c
1 changed files with 1 additions and 0 deletions

View File

@ -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