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/entities/tables.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/entities/tables.cpp')
-rw-r--r-- | engines/lastexpress/entities/tables.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lastexpress/entities/tables.cpp b/engines/lastexpress/entities/tables.cpp index b84c8c66fd..a884da4375 100644 --- a/engines/lastexpress/entities/tables.cpp +++ b/engines/lastexpress/entities/tables.cpp @@ -89,7 +89,7 @@ IMPLEMENT_FUNCTION_END IMPLEMENT_FUNCTION(5, Tables, chapter5) if (savepoint.action == kActionDefault) { if (_id == kEntityTables2 && getSoundQueue()->isBuffered(kEntityTables2)) - getSoundQueue()->processEntry(kEntityTables2); + getSoundQueue()->fade(kEntityTables2); setup_draw(); } @@ -113,21 +113,21 @@ IMPLEMENT_FUNCTION(6, Tables, draw) case kChapter1: if (getState()->time > kTime1165500 && !params->param1) { params->param1 = 1; - getSoundQueue()->processEntry(kEntityTables2); + getSoundQueue()->fade(kEntityTables2); } break; case kChapter3: if (getState()->time > kTime2052000 && !params->param2) { params->param2 = 1; - getSoundQueue()->processEntry(kEntityTables2); + getSoundQueue()->fade(kEntityTables2); } break; case kChapter4: if (getState()->time > kTime2488500 && !params->param3) { params->param3 = 1; - getSoundQueue()->processEntry(kEntityTables2); + getSoundQueue()->fade(kEntityTables2); } break; |