diff options
Diffstat (limited to 'Object.c')
-rw-r--r-- | Object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -268,8 +268,8 @@ ObjectAllocateSlot( if(i == MAX_LOADED_OBJECTS) return FALSE; *handle = i + TRANSIENT_FIRST; *object = &s_objects[i].object.entity; - // Initialize the object attributes - MemorySet(&((*object)->attributes), 0, sizeof(OBJECT_ATTRIBUTES)); + // Initialize the container. + MemorySet(*object, 0, sizeof(**object)); return TRUE; } // |