refactor: remove MemoryManager create method usages

This commit is contained in:
Jan
2025-01-13 22:03:20 +00:00
parent 62f1ac41c5
commit 4c09e94220
11 changed files with 13 additions and 89 deletions

View File

@ -51,7 +51,7 @@ namespace test::game::iw4::menu::parsing::it
Material* AddMaterial(const std::string& name)
{
auto* material = m_zone.GetMemory()->Create<Material>();
auto* material = m_zone.GetMemory()->Alloc<Material>();
material->info.name = m_zone.GetMemory()->Dup(name.c_str());
m_context.AddAsset<AssetMaterial>(name, material);