forked from github/server
message-fix für dogice (kräuter)
This commit is contained in:
parent
064410e7b2
commit
fc87bc0aec
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue