mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Numerous uninitialized memory fixes
This commit is contained in:
@@ -604,12 +604,14 @@ void CSfxManager::Update(float dt) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef URDE_MSAN
|
||||
for (const CSfxHandle& handle : chanObj.x48_handles) {
|
||||
if (handle->IsPlaying())
|
||||
continue;
|
||||
if (handle->Ready() && handle->IsInArea())
|
||||
handle->Play();
|
||||
}
|
||||
#endif
|
||||
|
||||
m_doUpdate = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user