From 558ab62fd7e526af549f82b92cc820f46faf2fcd Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 11 Apr 2016 23:37:24 +0200 Subject: GNAP: Enforce the use of a boolean when calling playSound() --- engines/gnap/scenes/scene43.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'engines/gnap/scenes/scene43.cpp') 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() { -- cgit v1.2.3