2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-02 09:11:49 +00:00

chore: always use dynamic asset pools and remove static implementation

This commit is contained in:
Jan
2025-01-21 20:42:13 +01:00
parent 74f84cbf83
commit b4194eff28
20 changed files with 420 additions and 963 deletions

View File

@ -9,9 +9,6 @@ Zone::Zone(std::string name, const zone_priority_t priority, IGame* game)
m_game(game),
m_pools(ZoneAssetPools::CreateForGame(game->GetId(), this, priority))
{
const auto assetTypeCount = m_pools->GetAssetTypeCount();
for (auto i = 0; i < assetTypeCount; i++)
m_pools->InitPoolDynamic(i);
}
Zone::~Zone()