diff options
author | Strangerke | 2014-12-27 17:21:04 +0100 |
---|---|---|
committer | Strangerke | 2014-12-27 17:21:04 +0100 |
commit | 576bab349c862b16fcca1e9e0fb3fbb52cc6edc4 (patch) | |
tree | 25c5665f2481ef872dc999f790624c7d1662bb2c /engines/access/amazon/amazon_logic.cpp | |
parent | 6a7834a05ed880cba32f0adb87950179c4ec404c (diff) | |
download | scummvm-rg350-576bab349c862b16fcca1e9e0fb3fbb52cc6edc4.tar.gz scummvm-rg350-576bab349c862b16fcca1e9e0fb3fbb52cc6edc4.tar.bz2 scummvm-rg350-576bab349c862b16fcca1e9e0fb3fbb52cc6edc4.zip |
ACCESS: Use loadSoundTable instead of push_back in several places
Diffstat (limited to 'engines/access/amazon/amazon_logic.cpp')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index 82f0edfa6e..6dffb85e5e 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -490,12 +490,12 @@ void Opening::doTent() { _vm->_screen->setDisplayScan(); _vm->_screen->forceFadeOut(); _vm->_events->hideCursor(); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 39), 1)); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 14), 1)); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 15), 1)); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 16), 1)); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 31), 2)); - _vm->_sound->_soundTable.push_back(SoundEntry(_vm->_sound->loadSound(98, 52), 2)); + _vm->_sound->loadSoundTable(0, 98, 39); + _vm->_sound->loadSoundTable(1, 98, 14); + _vm->_sound->loadSoundTable(2, 98, 15); + _vm->_sound->loadSoundTable(3, 98, 16); + _vm->_sound->loadSoundTable(4, 98, 31, 2); + _vm->_sound->loadSoundTable(5, 98, 52, 2); _vm->_sound->playSound(0); _vm->_files->_setPaletteFlag = false; |