[Scummvm-cvs-logs] scummvm master -> a3a40c4a6f07618a3d4b958e0b54feb03a1ddb95

lordhoto lordhoto at gmail.com
Sun Oct 2 01:58:54 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a3a40c4a6f KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore.


Commit: a3a40c4a6f07618a3d4b958e0b54feb03a1ddb95
    https://github.com/scummvm/scummvm/commit/a3a40c4a6f07618a3d4b958e0b54feb03a1ddb95
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-10-01T16:49:27-07:00

Commit Message:
KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore.

Changed paths:
    engines/kyra/sound_adlib.cpp



diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index 38682c1..b71c2f7 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;
 						}






More information about the Scummvm-git-logs mailing list