… | |
… | |
1348 | * this object. |
1348 | * this object. |
1349 | */ |
1349 | */ |
1350 | if (op->type == HORN || op->type == POTION) |
1350 | if (op->type == HORN || op->type == POTION) |
1351 | { |
1351 | { |
1352 | /* Remove any spells this object currently has in it */ |
1352 | /* Remove any spells this object currently has in it */ |
1353 | op->destroy_inv (); |
1353 | op->destroy_inv (false); |
1354 | |
1354 | |
1355 | object *tmp = arch_to_object (change->other_arch); |
1355 | object *tmp = arch_to_object (change->other_arch); |
1356 | insert_ob_in_ob (tmp, op); |
1356 | insert_ob_in_ob (tmp, op); |
1357 | } |
1357 | } |
1358 | /* No harm setting this for potions/horns */ |
1358 | /* No harm setting this for potions/horns */ |