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

Comparing deliantra/server/server/pets.C (file contents):
Revision 1.20 by pippijn, Sat Jan 6 14:42:31 2007 UTC vs.
Revision 1.21 by root, Sun Jan 7 23:12:03 2007 UTC

1089 if (head && head->randomitems) 1089 if (head && head->randomitems)
1090 { 1090 {
1091 create_treasure (head->randomitems, head, GT_APPLY | GT_STARTEQUIP, 6, 0); 1091 create_treasure (head->randomitems, head, GT_APPLY | GT_STARTEQUIP, 6, 0);
1092 1092
1093 for (object *tmp = head->inv; tmp; tmp = tmp->below) 1093 for (object *tmp = head->inv; tmp; tmp = tmp->below)
1094 SET_FLAG (tmp, FLAG_NO_DROP); 1094 SET_FLAG (tmp, FLAG_DESTROY_ON_DEATH);
1095 } 1095 }
1096 } /* for i < nrof */ 1096 } /* for i < nrof */
1097 1097
1098 return 1; 1098 return 1;
1099} 1099}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines