… | |
… | |
1397 | value -= nrof * nugget[i]->value; |
1397 | value -= nrof * nugget[i]->value; |
1398 | |
1398 | |
1399 | object *tmp = arch_to_object (nugget[i]); |
1399 | object *tmp = arch_to_object (nugget[i]); |
1400 | tmp->nrof = nrof; |
1400 | tmp->nrof = nrof; |
1401 | tmp->flag [FLAG_IDENTIFIED] = true; |
1401 | tmp->flag [FLAG_IDENTIFIED] = true; |
1402 | caster->map->insert (tmp, x, y, caster, 0); |
1402 | op->map->insert (tmp, x, y, op, 0); |
1403 | } |
1403 | } |
1404 | |
1404 | |
1405 | if (weight > weight_max) |
1405 | if (weight > weight_max) |
1406 | goto bailout; |
1406 | goto bailout; |
1407 | } |
1407 | } |