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.21 by root, Wed Dec 13 02:55:51 2006 UTC vs.
Revision 1.22 by root, Wed Dec 13 03:28:42 2006 UTC

785 for (obl = first_friendly_object; obl != NULL; obl = next) 785 for (obl = first_friendly_object; obl != NULL; obl = next)
786 { 786 {
787 object *ob = obl->ob; 787 object *ob = obl->ob;
788 788
789 next = obl->next; 789 next = obl->next;
790 if (get_owner (ob) == op) 790 if (ob->owner == op)
791 { 791 {
792 if (target == 0) 792 if (target == 0)
793 { 793 {
794 if (counter == 0) 794 if (counter == 0)
795 new_draw_info (NDI_UNIQUE, 0, op, "Pets:"); 795 new_draw_info (NDI_UNIQUE, 0, op, "Pets:");
1447 for (obl = first_friendly_object; obl != NULL; obl = next) 1447 for (obl = first_friendly_object; obl != NULL; obl = next)
1448 { 1448 {
1449 object *ob = obl->ob; 1449 object *ob = obl->ob;
1450 1450
1451 next = obl->next; 1451 next = obl->next;
1452 if (get_owner (ob) == op) 1452 if (ob->owner == op)
1453 if (++counter == target || (target == 0 && !strcasecmp (ob->name, params))) 1453 if (++counter == target || (target == 0 && !strcasecmp (ob->name, params)))
1454 { 1454 {
1455 ob->destroy (); 1455 ob->destroy ();
1456 removecount++; 1456 removecount++;
1457 } 1457 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines