mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
CActorContraption fixes, better CMake dependency handling
This commit is contained in:
@@ -21,7 +21,7 @@ void CDecalManager::Initialize() {
|
||||
|
||||
m_DecalPool.clear();
|
||||
for (int i = 0; i < 64; ++i)
|
||||
m_DecalPool.emplace_back(rstl::optional<CDecal>{}, 0, i - 1, false);
|
||||
m_DecalPool.emplace_back(std::optional<CDecal>{}, 0, i - 1, false);
|
||||
|
||||
m_FreeIndex = 63;
|
||||
m_PoolInitialized = true;
|
||||
@@ -39,7 +39,7 @@ void CDecalManager::Reinitialize() {
|
||||
|
||||
m_DecalPool.clear();
|
||||
for (int i = 0; i < 64; ++i)
|
||||
m_DecalPool.emplace_back(rstl::optional<CDecal>{}, 0, i - 1, false);
|
||||
m_DecalPool.emplace_back(std::optional<CDecal>{}, 0, i - 1, false);
|
||||
|
||||
m_ActiveIndexList.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user