… | |
… | |
1691 | CODE: |
1691 | CODE: |
1692 | { |
1692 | { |
1693 | if (slot >= NUM_BODY_LOCATIONS) |
1693 | if (slot >= NUM_BODY_LOCATIONS) |
1694 | croak ("body slot index out of range"); |
1694 | croak ("body slot index out of range"); |
1695 | |
1695 | |
1696 | RETVAL = ix ? op->slot[slot].info : op->slot[slot].used; |
1696 | RETVAL = ix ? op->slot[slot].used : op->slot[slot].info; |
1697 | |
1697 | |
1698 | if (items > 2) |
1698 | if (items > 2) |
1699 | if (ix) |
1699 | if (ix) |
|
|
1700 | op->slot[slot].used = value; |
|
|
1701 | else |
1700 | op->slot[slot].info = value; |
1702 | op->slot[slot].info = value; |
1701 | else |
|
|
1702 | op->slot[slot].used = value; |
|
|
1703 | } |
1703 | } |
1704 | OUTPUT: |
1704 | OUTPUT: |
1705 | RETVAL |
1705 | RETVAL |
1706 | |
1706 | |
1707 | object *find_best_object_match (object *op, utf8_string match) |
1707 | object *find_best_object_match (object *op, utf8_string match) |