mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed another array intitialization
This commit is contained in:
parent
a7ce3b7d9e
commit
359f327537
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue