Skip to content

Commit

Permalink
simplify init call
Browse files Browse the repository at this point in the history
  • Loading branch information
walkawayy committed Aug 2, 2023
1 parent 171420f commit 309a710
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/specific/s_audio_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ static void S_Audio_StreamSoundClear(AUDIO_STREAM_SOUND *stream)
void S_Audio_StreamSoundInit(void)
{
for (int sound_id = 0; sound_id < AUDIO_MAX_ACTIVE_STREAMS; sound_id++) {
AUDIO_STREAM_SOUND *stream = &m_StreamSounds[sound_id];
S_Audio_StreamSoundClear(stream);
S_Audio_StreamSoundClear(&m_StreamSounds[sound_id]);
}
}

Expand Down

0 comments on commit 309a710

Please sign in to comment.