kommentar zu give_item

This commit is contained in:
Katja Zedel 2002-10-27 10:15:07 +00:00
parent 13be7184aa
commit 33036fb8f8
1 changed files with 2 additions and 0 deletions

View File

@ -931,6 +931,8 @@ 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) {
/* give_item ändert im fall,das man alles übergibt, die
* item-liste der unit, darum continue vor pointerumsetzten */
if (give_item((*itmp)->number, (*itmp)->type, u, u2, S->s)==0) {
given = true;
continue;