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/fight/fighter_milos.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/fight/fighter_milos.cpp')
-rw-r--r-- | engines/lastexpress/fight/fighter_milos.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/fight/fighter_milos.cpp b/engines/lastexpress/fight/fighter_milos.cpp index 5493d26ca5..2063bf771a 100644 --- a/engines/lastexpress/fight/fighter_milos.cpp +++ b/engines/lastexpress/fight/fighter_milos.cpp @@ -108,7 +108,7 @@ void FighterPlayerMilos::update() { setSequenceAndDraw(5, kFightSequenceType1); _opponent->setSequenceAndDraw(6, kFightSequenceType1); - getSoundQueue()->removeFromQueue(kEntityTables0); + getSoundQueue()->stop(kEntityTables0); getSound()->playSound(kEntityTrain, "MUS029", kVolumeFull); handleAction(kFightActionWin); @@ -211,7 +211,7 @@ void FighterOpponentMilos::update() { _opponent->handleAction((FightAction)_sequenceIndex); if (_opponent->getCountdown() <= 0) { - getSoundQueue()->removeFromQueue(kEntityTables0); + getSoundQueue()->stop(kEntityTables0); handleAction(kFightActionLost); } } |