diff --git a/src/Components/Modules/ZoneBuilder.cpp b/src/Components/Modules/ZoneBuilder.cpp index ab583818..7c9f82ba 100644 --- a/src/Components/Modules/ZoneBuilder.cpp +++ b/src/Components/Modules/ZoneBuilder.cpp @@ -1047,7 +1047,7 @@ namespace Components // patch g_copyInfo because we're using so many more assets than originally intended int newLimit = 0x2000; - int* g_copyInfo_new = Utils::Memory::AllocateArray(newLimit); + int* g_copyInfo_new = Utils::Memory::GetAllocator()->allocateArray(newLimit); Utils::Hook::Set(0x494083, g_copyInfo_new); // DB_DelayLoadImages Utils::Hook::Set(0x5BB9CC, g_copyInfo_new); // DB_AddXAsset Utils::Hook::Set(0x5BC723, g_copyInfo_new); // DB_PostLoadXZone