2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-04 15:35:35 +00:00

CSfxManager: Always initialize x1a_reverb and x55_cachedMaxVol

Provides a deterministic initial state.
This commit is contained in:
Lioncash 2020-04-07 12:49:40 -04:00
parent 2ab59eec52
commit 3865dfbfe5

View File

@ -123,11 +123,11 @@ public:
};
class CSfxEmitterWrapper : public CBaseSfxWrapper {
float x1a_reverb;
float x1a_reverb = 0.0f;
CAudioSys::C3DEmitterParmData x24_parmData;
amuse::ObjToken<amuse::Emitter> x50_emitterHandle;
bool x54_ready = true;
float x55_cachedMaxVol;
float x55_cachedMaxVol = 0.0f;
public:
bool IsPlaying() const override;