ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/treasure.C
(Generate patch)

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.80 by root, Mon Sep 29 09:04:51 2008 UTC vs.
Revision 1.81 by root, Mon Sep 29 10:31:32 2008 UTC

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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines