mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-14 15:46:17 +00:00
More linux and memory leak fixes
This commit is contained in:
@@ -50,6 +50,8 @@ protected:
|
||||
{}
|
||||
|
||||
public:
|
||||
virtual ~CArrayProperty() { delete mpItemArchetype; }
|
||||
|
||||
virtual uint32 DataSize() const
|
||||
{
|
||||
return sizeof(SScriptArray);
|
||||
|
||||
@@ -352,13 +352,9 @@ public:
|
||||
typedef PropType ValueType;
|
||||
|
||||
protected:
|
||||
PropType mDefaultValue;
|
||||
PropType mDefaultValue = {};
|
||||
|
||||
TTypedProperty(EGame Game)
|
||||
: IProperty(Game)
|
||||
{
|
||||
memset(&mDefaultValue, 0, sizeof(PropType));
|
||||
}
|
||||
TTypedProperty(EGame Game) : IProperty(Game) {}
|
||||
|
||||
public:
|
||||
virtual EPropertyType Type() const { return PropEnum; }
|
||||
|
||||
Reference in New Issue
Block a user