Fix uninitialized filed in cAudioManager

This commit is contained in:
Sergeanur 2021-01-04 23:11:31 +02:00
parent 09c213738b
commit 6753d39dd0

View file

@ -24,6 +24,7 @@ cAudioManager::cAudioManager()
{ {
m_bIsInitialised = false; m_bIsInitialised = false;
m_bReverb = true; m_bReverb = true;
field_6 = 0;
m_fSpeedOfSound = SPEED_OF_SOUND / TIME_SPENT; m_fSpeedOfSound = SPEED_OF_SOUND / TIME_SPENT;
m_nTimeSpent = TIME_SPENT; m_nTimeSpent = TIME_SPENT;
m_nActiveSamples = NUM_SOUNDS_SAMPLES_SLOTS; m_nActiveSamples = NUM_SOUNDS_SAMPLES_SLOTS;