mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 10:25:40 +00:00
Various memory-related bug fixes
Also new lzokay API to reduce erroneous usage.
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
virtual void Destruct(void* pData) const
|
||||
{
|
||||
RevertToDefault(pData);
|
||||
TTypedProperty::Destruct(pData);
|
||||
_GetInternalArray(pData).~SScriptArray();
|
||||
}
|
||||
|
||||
virtual bool MatchesDefault(void* pData) const
|
||||
|
||||
@@ -280,7 +280,8 @@ CDependencyTree* CStringTable::BuildDependencyTree() const
|
||||
{
|
||||
if (Game() >= EGame::CorruptionProto)
|
||||
{
|
||||
ASSERT(ParamString.StartsWith("0x"));
|
||||
if (!ParamString.StartsWith("0x"))
|
||||
continue;
|
||||
ParamString = ParamString.ChopFront(2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user