medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f03ba935aef515101aeb68831290109326c7c6c8
parent d6a0bd133767a6d2e6a2a21380c610179a23ea23
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Dec 13 23:11:55 +0200

Replace enqueue with enqueue_spin

Diffstat:
mixer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mixer.cc b/mixer.cc @@ -139,7 +139,7 @@ PlayingSoundID mixer_play( SoundData sound, MixerLoopBool loop, s32 start_pos ) cmd.start_pos = start_pos; cmd.sound_id = sound_counter; cmd.loop = loop == MIXER_LOOP; - while( !command_queue.enqueue( cmd ) ); + command_queue.enqueue_spin( cmd ); sound_counter++; if( sound_counter == INVALID_SOUND_ID ) {