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

Comparing deliantra/server/server/c_misc.C (file contents):
Revision 1.18 by root, Mon Dec 11 21:32:17 2006 UTC vs.
Revision 1.19 by root, Tue Dec 12 20:53:03 2006 UTC

1450 next = obl->next; 1450 next = obl->next;
1451 if (get_owner (ob) == op) 1451 if (get_owner (ob) == op)
1452 if (++counter == target || (target == 0 && !strcasecmp (ob->name, params))) 1452 if (++counter == target || (target == 0 && !strcasecmp (ob->name, params)))
1453 { 1453 {
1454 if (!QUERY_FLAG (ob, FLAG_REMOVED)) 1454 if (!QUERY_FLAG (ob, FLAG_REMOVED))
1455 remove_ob (ob); 1455 ob->remove ();
1456 remove_friendly_object (ob); 1456 remove_friendly_object (ob);
1457 free_object (ob); 1457 ob->destroy (0);
1458 removecount++; 1458 removecount++;
1459 } 1459 }
1460 } 1460 }
1461 if (removecount != 0) 1461 if (removecount != 0)
1462 new_draw_info_format (NDI_UNIQUE, 0, op, "killed %d pets.\n", removecount); 1462 new_draw_info_format (NDI_UNIQUE, 0, op, "killed %d pets.\n", removecount);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines