Codechange: Bind objectspecs to classes once all finalised.

(cherry picked from commit 5f4a8f730b8982cbec7eec5e2331f0bc9217e69e)
This commit is contained in:
Peter Nelson
2023-01-16 23:31:31 +00:00
committed by Jonathan G Rennison
parent 9cda69cab1
commit d34e1bbbc1
4 changed files with 22 additions and 10 deletions

View File

@@ -317,7 +317,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]);
}
/**