From afc42b9c4cc3741ea15849816d91763eb0677fa5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 20 Jun 2004 00:00:30 +0000 Subject: [PATCH] =?UTF-8?q?Im=20Astralraum=20B=C3=A4ume=20zu=20pflanzen=20?= =?UTF-8?q?crasht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/alchemy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/kernel/alchemy.c b/src/common/kernel/alchemy.c index 889b5b9e0..1b906420d 100644 --- a/src/common/kernel/alchemy.c +++ b/src/common/kernel/alchemy.c @@ -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