From a3a40c4a6f07618a3d4b958e0b54feb03a1ddb95 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 2 Oct 2011 01:47:35 +0200 Subject: KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore. --- engines/kyra/sound_adlib.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/kyra/sound_adlib.cpp') diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index 38682c16b4..b71c2f76db 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -790,6 +790,11 @@ void AdLibDriver::executePrograms() { noteOn(channel); setupDuration(param, channel); if (param) { + // We need to make sure we are always running the + // effects after this. Otherwise some sounds are + // wrong. Like the sfx when bumping into a wall in + // LoL. + result = 1; channel.dataptr = dataptr; break; } -- cgit v1.2.3