aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene16.cpp20
2 files changed, 21 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index e84fb203eb..aefe91ff23 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -665,6 +665,8 @@ namespace Fullpipe {
#define PIC_SC16_TUMBA 1368
#define QU_SC16_SHOWMUG 1361
#define SND_16_034 3854
+#define SND_16_035 3855
+#define SND_16_037 3857
#define ST_GRL_LAUGH 1342
#define ST_MUG_EMPTY 1298
#define ST_MUG_FULL 1360
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() {