message-fix für dogice (kräuter)

This commit is contained in:
Enno Rehling 2002-10-27 09:06:56 +00:00
parent 064410e7b2
commit fc87bc0aec
1 changed files with 5 additions and 3 deletions

View File

@ -931,8 +931,10 @@ 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;
if (give_item((*itmp)->number, (*itmp)->type, u, u2, S->s)==0) {
given = true;
continue;
}
}
itmp = &(*itmp)->next;
}