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