mirror of https://github.com/AxioDL/metaforce.git
CSfxManager: Always initialize x1a_reverb and x55_cachedMaxVol
Provides a deterministic initial state.
This commit is contained in:
parent
2ab59eec52
commit
3865dfbfe5
|
@ -123,11 +123,11 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class CSfxEmitterWrapper : public CBaseSfxWrapper {
|
class CSfxEmitterWrapper : public CBaseSfxWrapper {
|
||||||
float x1a_reverb;
|
float x1a_reverb = 0.0f;
|
||||||
CAudioSys::C3DEmitterParmData x24_parmData;
|
CAudioSys::C3DEmitterParmData x24_parmData;
|
||||||
amuse::ObjToken<amuse::Emitter> x50_emitterHandle;
|
amuse::ObjToken<amuse::Emitter> x50_emitterHandle;
|
||||||
bool x54_ready = true;
|
bool x54_ready = true;
|
||||||
float x55_cachedMaxVol;
|
float x55_cachedMaxVol = 0.0f;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool IsPlaying() const override;
|
bool IsPlaying() const override;
|
||||||
|
|
Loading…
Reference in New Issue