PennMUSH Community

Changeset 1236

Show
Ignore:
Timestamp:
06/19/08 15:08:23 (3 months ago)
Author:
walker
Message:

@cloned objects had triple the attrcount of the objects they're @cloned from.

This fixes that.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/branches/devel/src/attrib.c

    r1206 r1236  
    12001200      atr_new_add(dest, AL_NAME(ptr), atr_value(ptr), 
    12011201                  AL_CREATOR(ptr), AL_FLAGS(ptr), AL_DEREFS(ptr)); 
    1202       AttrCount(dest)++; 
    12031202    } 
    12041203} 
  • 1.8.3/branches/devel/src/create.c

    r1150 r1236  
    497497    set_name(clone, Name(thing)); 
    498498  s_Pennies(clone, Pennies(thing)); 
     499  AttrCount(clone) = 0; 
    499500  atr_cpy(clone, thing); 
    500501  Locks(clone) = NULL;