commit 831b115d3046cb4e8941d1e1df188aa4d40705fd parent 37872d577449889243687b6575fcb4559bc17b10 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Dec 11 14:39:26 +0200 Reset to RESET_SOUND_COUNTER Diffstat:
mixer.cc | | | 2 | +- |
diff --git a/mixer.cc b/mixer.cc @@ -181,7 +181,7 @@ PlayingSoundID mixer_play( SoundData sound, MixerLoopBool loop, s32 start_pos ) sound_counter++; if( sound_counter == INVALID_SOUND_ID ) { - sound_counter++; + sound_counter = RESET_SOUND_COUNTER; } return cmd.sound_id;