mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-14 07:41:27 +00:00
refactor: remove MemoryManager create method usages
This commit is contained in:
11 files changed
+13
-89
No files matched your search
@@ -13,7 +13,7 @@ void Actions_XModel::SetModelSurfs(XModelLodInfo* lodInfo, XModelSurfs* modelSur
|
||||
{
|
||||
if (modelSurfs)
|
||||
{
|
||||
lodInfo->modelSurfs = m_zone->GetMemory()->Create<XModelSurfs>();
|
||||
lodInfo->modelSurfs = m_zone->GetMemory()->Alloc<XModelSurfs>();
|
||||
memcpy(lodInfo->modelSurfs, modelSurfs, sizeof(XModelSurfs));
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ void Actions_XModel::SetModelSurfs(XModelLodInfo* lodInfo, XModelSurfs* modelSur
|
||||
{
|
||||
if (modelSurfs)
|
||||
{
|
||||
lodInfo->modelSurfs = m_zone->GetMemory()->Create<XModelSurfs>();
|
||||
lodInfo->modelSurfs = m_zone->GetMemory()->Alloc<XModelSurfs>();
|
||||
memcpy(lodInfo->modelSurfs, modelSurfs, sizeof(XModelSurfs));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user