2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-25 05:41:53 +00:00

chore: extract ZoneAssetLoaderContainer to separate class

This commit is contained in:
Jan
2025-01-03 10:23:30 +01:00
parent 41d97c0954
commit fa6f9451d2
10 changed files with 57 additions and 41 deletions

View File

@ -34,7 +34,7 @@ namespace test::game::iw4::menu::parsing::it
: m_zone("MockZone", 0, IGame::GetGameById(GameId::IW4)),
m_creator_collection(m_zone),
m_ignored_asset_lookup(),
m_context(&m_zone, &m_creator_collection, &m_ignored_asset_lookup)
m_context(m_zone, &m_creator_collection, &m_ignored_asset_lookup)
{
m_asset_creator = CreateMenuListLoader(*m_zone.GetMemory(), m_search_path);
}