aboutsummaryrefslogtreecommitdiff
path: root/Object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Object.c')
-rw-r--r--Object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Object.c b/Object.c
index 06d717f..14ec018 100644
--- a/Object.c
+++ b/Object.c
@@ -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;
}
//