aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene13.cpp
diff options
context:
space:
mode:
authorStrangerke2016-04-11 23:37:24 +0200
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commit558ab62fd7e526af549f82b92cc820f46faf2fcd (patch)
tree4aa9c11f089ebb985882a62a00e7a4592a773f86 /engines/gnap/scenes/scene13.cpp
parent192bc349350e33e44d15f59e548dcecd4a7b253c (diff)
downloadscummvm-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.cpp16
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;
}
}