From caf1ab2a00ba2f58be29e89d780b69af2587119f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 23 Dec 2009 18:46:10 +0000 Subject: Fixed compilation svn-id: r46511 --- engines/sci/sfx/soundcmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/sfx') diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp index d696225e55..55d7aa7323 100644 --- a/engines/sci/sfx/soundcmd.cpp +++ b/engines/sci/sfx/soundcmd.cpp @@ -114,7 +114,7 @@ void process_sound_events(EngineState *s) { /* Get all sound events, apply their debugC(2, kDebugLevelSound, "[process-sound] Song %04x:%04x finished\n", PRINT_REG(obj)); PUT_SEL32V(segMan, obj, signal, SIGNAL_OFFSET); - PUT_SEL32V(segMan, obj, state, _K_SOUND_STATUS_STOPPED); + PUT_SEL32V(segMan, obj, state, kSndStatusStopped); break; default: @@ -323,7 +323,7 @@ void SoundCommandParser::cmdPlayHandle(reg_t obj, int16 value) { if (!_hasNodePtr) { _state->sfx_song_set_status(handle, SOUND_STATUS_PLAYING); _state->sfx_song_set_loops(handle, GET_SEL32V(_segMan, obj, loop)); - PUT_SEL32V(_segMan, obj, state, _K_SOUND_STATUS_PLAYING); + PUT_SEL32V(_segMan, obj, state, kSndStatusPlaying); } else if (_doSoundVersion == SCI_VERSION_1_EARLY) { _state->sfx_song_set_status(handle, SOUND_STATUS_PLAYING); _state->sfx_song_set_loops(handle, GET_SEL32V(_segMan, obj, loop)); -- cgit v1.2.3