mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:07:43 +00:00
Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor
This commit is contained in:
@@ -741,4 +741,17 @@ void CWorld::AddGlobalSound(const CSfxHandle& hnd)
|
||||
return;
|
||||
xc8_globalSfxHandles.push_back(hnd);
|
||||
}
|
||||
|
||||
bool CWorld::AreSkyNeedsMet() const
|
||||
{
|
||||
if (!x70_26_skyboxActive)
|
||||
return true;
|
||||
if (xb4_skyboxOverride && xb4_skyboxOverride->IsLoaded(0))
|
||||
return true;
|
||||
if (xa4_skyboxWorldLoaded && xa4_skyboxWorldLoaded->IsLoaded(0))
|
||||
return true;
|
||||
if (x94_skyboxWorld && x94_skyboxWorld->IsLoaded(0))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user