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

Comparing deliantra/server/server/alchemy.C (file contents):
Revision 1.11 by pippijn, Mon Dec 11 19:46:46 2006 UTC vs.
Revision 1.12 by root, Tue Dec 12 20:53:03 2006 UTC

626 { /* MAJOR FIRE */ 626 { /* MAJOR FIRE */
627 object *fb = get_archetype (SP_MED_FIREBALL); 627 object *fb = get_archetype (SP_MED_FIREBALL);
628 628
629 remove_contents (cauldron->inv, NULL); 629 remove_contents (cauldron->inv, NULL);
630 fire_arch_from_position (cauldron, cauldron, cauldron->x, cauldron->y, 0, fb); 630 fire_arch_from_position (cauldron, cauldron, cauldron->x, cauldron->y, 0, fb);
631 free_object (fb); 631 fb->destroy (0);
632 new_draw_info_format (NDI_UNIQUE, 0, op, "The %s erupts in flame!", &cauldron->name); 632 new_draw_info_format (NDI_UNIQUE, 0, op, "The %s erupts in flame!", &cauldron->name);
633 return; 633 return;
634 634
635 } 635 }
636 else if (level < 100) 636 else if (level < 100)
727 else 727 else
728 next = next->below; 728 next = next->below;
729 } 729 }
730 if (tmp->inv) 730 if (tmp->inv)
731 remove_contents (tmp->inv, NULL); 731 remove_contents (tmp->inv, NULL);
732 remove_ob (tmp); 732 tmp->remove ();
733 free_object (tmp); 733 tmp->destroy (0);
734 tmp = next; 734 tmp = next;
735 } 735 }
736} 736}
737 737
738/** 738/**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines