Codechange: Bind objectspecs to classes once all finalised.
(cherry picked from commit 5f4a8f730b8982cbec7eec5e2331f0bc9217e69e)
This commit is contained in:

committed by
Jonathan G Rennison

parent
9cda69cab1
commit
d34e1bbbc1
@@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user