… | |
… | |
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 | |
559 | object * |
560 | object * |