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

Comparing deliantra/server/common/object.C (file contents):
Revision 1.144 by root, Thu May 3 10:39:46 2007 UTC vs.
Revision 1.145 by root, Mon May 7 03:05:58 2007 UTC

549 * need for monsters, but doesn't hurt to do it for everything. 549 * need for monsters, but doesn't hurt to do it for everything.
550 * by doing so, when a monster is created, it has good starting 550 * by doing so, when a monster is created, it has good starting
551 * values for the body_used info, so when items are created 551 * values for the body_used info, so when items are created
552 * for it, they can be properly equipped. 552 * for it, they can be properly equipped.
553 */ 553 */
554 memcpy (body_used, body_info, sizeof (body_used)); 554 for (int i = NUM_BODY_LOCATIONS; i--; )
555 slot[i].used = slot[i].info;
555 556
556 attachable::instantiate (); 557 attachable::instantiate ();
557} 558}
558 559
559object * 560object *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines