diff options
author | Evgeny Grechnikov | 2018-10-18 00:38:01 +0300 |
---|---|---|
committer | Evgeny Grechnikov | 2018-10-18 00:38:01 +0300 |
commit | 54562554f9b274ce527a54e7fe87b8ff354fe0f4 (patch) | |
tree | e4389bd4af6e5fcef525bec17c92f35d12fdf443 /engines/lastexpress/game/scenes.cpp | |
parent | b7b5fbbad2808a0c5112bebbb59a5a1c43042e29 (diff) | |
download | scummvm-rg350-54562554f9b274ce527a54e7fe87b8ff354fe0f4.tar.gz scummvm-rg350-54562554f9b274ce527a54e7fe87b8ff354fe0f4.tar.bz2 scummvm-rg350-54562554f9b274ce527a54e7fe87b8ff354fe0f4.zip |
LASTEXPRESS: better names in sound code
Refactoring, no changes in behaviour.
Diffstat (limited to 'engines/lastexpress/game/scenes.cpp')
-rw-r--r-- | engines/lastexpress/game/scenes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/game/scenes.cpp b/engines/lastexpress/game/scenes.cpp index 9aa85381ae..b68e5b0089 100644 --- a/engines/lastexpress/game/scenes.cpp +++ b/engines/lastexpress/game/scenes.cpp @@ -1064,7 +1064,7 @@ void SceneManager::preProcessScene(SceneIndex *index) { Scene *newScene = getScenes()->get(*index); if (getSoundQueue()->isBuffered(kEntityTables4)) { if (newScene->type != Scene::kTypeReadText || newScene->param1) - getSoundQueue()->processEntry(kEntityTables4); + getSoundQueue()->fade(kEntityTables4); } // Cleanup beetle sequences @@ -1162,7 +1162,7 @@ void SceneManager::postProcessScene() { if (getState()->time >= kTimeCityGalanta || getProgress().field_18 == 4) break; - getSoundQueue()->processEntry(kSoundType7); + getSoundQueue()->fade(kSoundTagLink); getSound()->playSound(kEntityTrain, "LIB050", kVolumeFull); switch (getProgress().chapter) { |