mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +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;
|
||||
}
|
||||
|
||||
@@ -113,8 +113,8 @@ public:
|
||||
, x14_26_looped(looped)
|
||||
, x14_27_inArea(true)
|
||||
, x14_28_isReleased(false)
|
||||
, m_isClosed(false)
|
||||
, x14_29_useAcoustics(useAcoustics) {}
|
||||
, x14_29_useAcoustics(useAcoustics)
|
||||
, m_isClosed(false) {}
|
||||
};
|
||||
|
||||
class CSfxEmitterWrapper : public CBaseSfxWrapper {
|
||||
|
||||
Reference in New Issue
Block a user