mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-06 19:21:52 +00:00
ZoneCommon: Fix AssetPoolStatic not initializing InfoPool in every case
This commit is contained in:
@ -4,7 +4,6 @@
|
|||||||
#include "AssetPool.h"
|
#include "AssetPool.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <map>
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class AssetPoolStatic final : public AssetPool<T>
|
class AssetPoolStatic final : public AssetPool<T>
|
||||||
@ -53,6 +52,7 @@ public:
|
|||||||
{
|
{
|
||||||
m_pool = nullptr;
|
m_pool = nullptr;
|
||||||
m_free = nullptr;
|
m_free = nullptr;
|
||||||
|
m_info_pool = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user