Posted Tuesday, February 2nd @ 11:34:36 PM, by George Greer in the oopsie dept.
Xual writes
"I found a bug in the auto_equip.txt snippet. On my
system it would give errors about worn_by and worn_on
being inconsistent pointers, and about an assertion
failure in extract_obj() if the item was flagged NORENT
etc.."
Here's the fix:
in unequip_char_for_rent() in handler.c
obj = GET_EQ(ch, pos);
- /*obj->worn_by = NULL;*/
+ /** Updated Jan 26/99 -- Xual **/
+ if (IS_OBJ_STAT(obj, ITEM_NORENT) ||
+ GET_OBJ_RENT(obj) < 0)
+ obj->worn_by = NULL;
An updated file is available at link
G: except ml.org will
definitely close by April 1999 according to their web page.
<< do_say snippet [by Andrew] | Reply | Flattened | Do_Create & Do_Scare [By B. Brown] >> |
|
Related Links |
|
|
|
Quick Links |
|
|
|