Codechange: Bind objectspecs to classes once all finalised.

This commit is contained in:
Peter Nelson
2023-01-16 23:31:31 +00:00
committed by PeterN
parent 02961fd7af
commit 93197f58b7
4 changed files with 22 additions and 10 deletions

View File

@@ -316,7 +316,6 @@ void ObjectOverrideManager::SetEntitySpec(ObjectSpec *spec)
/* Now that we know we can use the given id, copy the spec to its final destination. */
memcpy(&_object_specs[type], spec, sizeof(*spec));
ObjectClass::Assign(&_object_specs[type]);
}
/**