[Scummvm-git-logs] scummvm branch-2-6 -> e3aba0230fd2174d430e194afbd10e59bc258439

antoniou79 noreply at scummvm.org
Sun Jul 3 13:38:48 UTC 2022


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:
e3aba0230f BLADERUNNER: Fix sound localization for MA04 TV


Commit: e3aba0230fd2174d430e194afbd10e59bc258439
    https://github.com/scummvm/scummvm/commit/e3aba0230fd2174d430e194afbd10e59bc258439
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-07-03T16:38:39+03:00

Commit Message:
BLADERUNNER: Fix sound localization for MA04 TV

M04 scene exists in two sets (kSetMA04 and kSetMA02_MA04)

So better to do the check based on kSetPS05

Changed paths:
    engines/bladerunner/actor.cpp


diff --git a/engines/bladerunner/actor.cpp b/engines/bladerunner/actor.cpp
index c80e959222b..23e54d08d5a 100644
--- a/engines/bladerunner/actor.cpp
+++ b/engines/bladerunner/actor.cpp
@@ -1378,8 +1378,8 @@ void Actor::speechPlay(int sentenceId, bool voiceOver) {
 			// x: 149 --> pan: -41
 			// PS05 TV
 			// x: 527 --> pan:  48
-			// These quotes only play in kSetMA04 and kSetPS05
-			pan = (_vm->_playerActor->getSetId() == kSetMA04) ? -41 : 48;
+			// These quotes only play in MA04 scene and kSetPS05
+			pan = (_vm->_playerActor->getSetId() == kSetPS05) ? 48 : -41;
 		} else if ((_id == kActorLucy     && sentenceId >= 500  && sentenceId <= 640)
 		        || (_id == kActorClovis   && sentenceId >= 310  && sentenceId <= 540)
 		        || (_id == kActorDektora  && sentenceId >= 220  && sentenceId <= 490)
@@ -1387,7 +1387,7 @@ void Actor::speechPlay(int sentenceId, bool voiceOver) {
 		        || (_id == kActorGuzza    && sentenceId >= 0    && sentenceId <= 70)) {
 			// MA04 phone
 			// x: 351 --> pan: 7
-			// These quotes only play in kSetMA04
+			// These quotes only play in MA04 scene
 			pan = 7;
 		} else if (_id == kActorGuzza     && sentenceId >= 1380 && sentenceId <= 1480) {
 			// NR02 phone (Taffy's)




More information about the Scummvm-git-logs mailing list