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/scene17.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/scene17.cpp')
-rw-r--r-- | engines/gnap/scenes/scene17.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/gnap/scenes/scene17.cpp b/engines/gnap/scenes/scene17.cpp index 849e06329c..aa08255cd6 100644 --- a/engines/gnap/scenes/scene17.cpp +++ b/engines/gnap/scenes/scene17.cpp @@ -119,8 +119,7 @@ void GnapEngine::scene17_platHangUpPhone() { } void GnapEngine::scene17_run() { - - playSound(0x10940, 1); + playSound(0x10940, true); startSoundTimerA(8); _sceneWaiting = false; _timers[4] = getRandom(100) + 200; @@ -486,7 +485,7 @@ void GnapEngine::scene17_run() { scene17_updateAnimations(); if (!isSoundPlaying(0x10940)) - playSound(0x10940, 1); + playSound(0x10940, true); if (!_isLeavingScene) { if (_beaverActionStatus < 0) |