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
1 changed files with 2 additions and 2 deletions

View File

@ -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;