- fixed redundant reallocation of constructable meta fields.
- some optimization of access to OwnedStates in old DECORATE. - consolidate all places that print a state name into a subfunction. - allocate states from the ClassDataAllocator memory arena. States do not need to be freed separately from the rest of the static class data.
This commit is contained in:
parent
311ce2362a
commit
05240ccbe5
10 changed files with 106 additions and 85 deletions
|
|
@ -318,10 +318,6 @@ PClassActor::PClassActor()
|
|||
|
||||
PClassActor::~PClassActor()
|
||||
{
|
||||
if (OwnedStates != NULL)
|
||||
{
|
||||
delete[] OwnedStates;
|
||||
}
|
||||
if (DamageFactors != NULL)
|
||||
{
|
||||
delete DamageFactors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue