From fc87bc0aecb4cb901590e29f14bd5caa76f65a28 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 27 Oct 2002 09:06:56 +0000 Subject: [PATCH] =?UTF-8?q?message-fix=20f=C3=BCr=20dogice=20(kr=C3=A4uter?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/economy.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/common/gamecode/economy.c b/src/common/gamecode/economy.c index a454a3713..0f90cad11 100644 --- a/src/common/gamecode/economy.c +++ b/src/common/gamecode/economy.c @@ -931,9 +931,11 @@ dogive(region * r, unit * u, strlist * S, boolean liefere, int mode) while (*itmp) { const herb_type * htype = resource2herb((*itmp)->type->rtype); if (htype && (*itmp)->number>0) { - if (give_item((*itmp)->number, (*itmp)->type, u, u2, S->s)==0) continue; - given = true; - } + if (give_item((*itmp)->number, (*itmp)->type, u, u2, S->s)==0) { + given = true; + continue; + } + } itmp = &(*itmp)->next; } }