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.357 by root, Tue Nov 13 01:29:30 2012 UTC vs.
Revision 1.358 by root, Sun Nov 25 15:50:20 2012 UTC

636 speed_left = -1.; 636 speed_left = -1.;
637 637
638 /* copy the body_info to the body_used - this is only really 638 /* copy the body_info to the body_used - this is only really
639 * need for monsters, but doesn't hurt to do it for everything. 639 * need for monsters, but doesn't hurt to do it for everything.
640 * by doing so, when a monster is created, it has good starting 640 * by doing so, when a monster is created, it has good starting
641 * values for the body_used info, so when items are created 641 * values for the body_used info, so when items are created
642 * for it, they can be properly equipped. 642 * for it, they can be properly equipped.
643 */ 643 */
644 for (int i = NUM_BODY_LOCATIONS; i--; ) 644 for (int i = NUM_BODY_LOCATIONS; i--; )
645 slot[i].used = slot[i].info; 645 slot[i].used = slot[i].info;
646 646

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines