diff options
author | Strangerke | 2016-04-11 23:37:24 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | 558ab62fd7e526af549f82b92cc820f46faf2fcd (patch) | |
tree | 4aa9c11f089ebb985882a62a00e7a4592a773f86 /engines/gnap/scenes/scene43.cpp | |
parent | 192bc349350e33e44d15f59e548dcecd4a7b253c (diff) | |
download | scummvm-rg350-558ab62fd7e526af549f82b92cc820f46faf2fcd.tar.gz scummvm-rg350-558ab62fd7e526af549f82b92cc820f46faf2fcd.tar.bz2 scummvm-rg350-558ab62fd7e526af549f82b92cc820f46faf2fcd.zip |
GNAP: Enforce the use of a boolean when calling playSound()
Diffstat (limited to 'engines/gnap/scenes/scene43.cpp')
-rw-r--r-- | engines/gnap/scenes/scene43.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/gnap/scenes/scene43.cpp b/engines/gnap/scenes/scene43.cpp index 83b11b7697..45b52a7adb 100644 --- a/engines/gnap/scenes/scene43.cpp +++ b/engines/gnap/scenes/scene43.cpp @@ -143,9 +143,8 @@ void GnapEngine::scene43_run() { } while (!_sceneDone) { - if (!isSoundPlaying(0x1094B)) - playSound(0x1094B, 1); + playSound(0x1094B, true); updateMouseCursor(); updateCursorByHotspot(); @@ -199,11 +198,8 @@ void GnapEngine::scene43_run() { _timers[9] = 600; break; } - } else { - switch (_sceneClickedHotspot) { - case kHSDevice: runMenu(); scene43_updateHotspots(); @@ -364,12 +360,10 @@ void GnapEngine::scene43_run() { } gameUpdateTick(); - } if (_newSceneNum == 54) clearFlag(kGFGnapControlsToyUFO); - } void GnapEngine::scene43_updateAnimations() { |