aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene16.cpp')
-rw-r--r--engines/fullpipe/scenes/scene16.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp
index 0370ec7cd1..23030a30c4 100644
--- a/engines/fullpipe/scenes/scene16.cpp
+++ b/engines/fullpipe/scenes/scene16.cpp
@@ -125,7 +125,25 @@ int scene16_updateCursor() {
}
void sceneHandler16_laughSound() {
- warning("STUB: sceneHandler16_laughSound()");
+ int snd;
+
+ switch (g_vars->scene16_sound) {
+ case SND_16_034:
+ snd = SND_16_035;
+ break;
+
+ case SND_16_035:
+ snd = SND_16_037;
+ break;
+
+ case SND_16_037:
+ snd = SND_16_034;
+ break;
+ }
+
+ g_vars->scene16_sound = snd;
+
+ g_fp->playSound(snd, 0);
}
void sceneHandler16_showBearded() {