diff options
author | Eugene Sandulenko | 2010-06-15 10:35:10 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:35:10 +0000 |
commit | c7e9b620eef9973beee5f2055fb37308682d86ff (patch) | |
tree | e801a6f09a5c5cad88faf3a7328ce9c3eaad18c4 /engines/agi/sound.cpp | |
parent | 0a1a9194064a96673b45d856f06dbb689838d746 (diff) | |
download | scummvm-rg350-c7e9b620eef9973beee5f2055fb37308682d86ff.tar.gz scummvm-rg350-c7e9b620eef9973beee5f2055fb37308682d86ff.tar.bz2 scummvm-rg350-c7e9b620eef9973beee5f2055fb37308682d86ff.zip |
AGI: properly setup Sound var.
svn-id: r49752
Diffstat (limited to 'engines/agi/sound.cpp')
-rw-r--r-- | engines/agi/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp index b9a118c95f..c4c695c59e 100644 --- a/engines/agi/sound.cpp +++ b/engines/agi/sound.cpp @@ -142,7 +142,7 @@ void SoundMgr::unloadSound(int resnum) { void SoundMgr::startSound(int resnum, int flag) { int i; - AgiSoundType type; + AgiSoundEmuType type; if (_vm->_game.sounds[resnum] != NULL && _vm->_game.sounds[resnum]->isPlaying()) return; @@ -152,7 +152,7 @@ void SoundMgr::startSound(int resnum, int flag) { if (_vm->_game.sounds[resnum] == NULL) // Is this needed at all? return; - type = (AgiSoundType)_vm->_game.sounds[resnum]->type(); + type = (AgiSoundEmuType)_vm->_game.sounds[resnum]->type(); if (type != AGI_SOUND_SAMPLE && type != AGI_SOUND_MIDI && type != AGI_SOUND_4CHN) return; |