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

refactor: get rid of global game variables

This commit is contained in:
Jan
2024-10-19 21:03:36 +02:00
parent ce16d8e6c8
commit b00c65c8c0
28 changed files with 177 additions and 156 deletions

View File

@ -28,7 +28,7 @@ namespace test::game::iw4::menu::parsing::it
public:
MenuParsingItHelper()
: m_zone("MockZone", 0, &g_GameIW4),
: m_zone("MockZone", 0, IGame::GetGameById(GameId::IW4)),
m_manager(m_zone, m_search_path)
{
}