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/scene13.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/scene13.cpp')
-rw-r--r-- | engines/gnap/scenes/scene13.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/gnap/scenes/scene13.cpp b/engines/gnap/scenes/scene13.cpp index 8a04b2dda9..58bdba1ade 100644 --- a/engines/gnap/scenes/scene13.cpp +++ b/engines/gnap/scenes/scene13.cpp @@ -58,7 +58,7 @@ enum { }; int GnapEngine::scene13_init() { - playSound(0x108EC, 0); + playSound(0x108EC, false); return 0xAC; } @@ -122,7 +122,7 @@ void GnapEngine::scene13_run() { while (!_sceneDone) { if (!isSoundPlaying(0x1091A)) - playSound(0x1091A, 1); + playSound(0x1091A, true); testWalk(0, 0, -1, -1, -1, -1); @@ -325,19 +325,19 @@ void GnapEngine::scene13_run() { _timers[4] = getRandom(20) + 20; switch (getRandom(5)) { case 0: - playSound(0xD2, 0); + playSound(0xD2, false); break; case 1: - playSound(0xD3, 0); + playSound(0xD3, false); break; case 2: - playSound(0xD4, 0); + playSound(0xD4, false); break; case 3: - playSound(0xD5, 0); + playSound(0xD5, false); break; case 4: - playSound(0xD6, 0); + playSound(0xD6, false); break; } } @@ -362,7 +362,7 @@ void GnapEngine::scene13_run() { break; } if (newSoundId != currSoundId) { - playSound(newSoundId, 0); + playSound(newSoundId, false); currSoundId = newSoundId; } } |