fixed another array intitialization

This commit is contained in:
oy 2019-02-04 11:12:01 +01:00
parent a7ce3b7d9e
commit 359f327537

View file

@ -51,9 +51,11 @@ struct CVoice
int m_X, m_Y;
};
static CSample m_aSamples[NUM_SAMPLES] = { {0} };
static CVoice m_aVoices[NUM_VOICES] = { {0} };
static CChannel m_aChannels[NUM_CHANNELS] = { {255} };
static CSample m_aSamples[NUM_SAMPLES] = {0};
static CVoice m_aVoices[NUM_VOICES] = {0};
static CChannel m_aChannels[NUM_CHANNELS];
for(int i = 0; i < NUM_CHANNELS; ++i)
m_aChannels[i] = 255;
static LOCK m_SoundLock = 0;