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

Strangerke Strangerke at scummvm.org
Wed Oct 29 16:49:08 CET 2014


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:
c2951e2594 HOPKINS: Add specific code to handle the butchered Polish version with sync sound


Commit: c2951e2594c320c244898237d434e7d83a027662
    https://github.com/scummvm/scummvm/commit/c2951e2594c320c244898237d434e7d83a027662
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-10-29T16:46:33+01:00

Commit Message:
HOPKINS: Add specific code to handle the butchered Polish version with sync sound

Changed paths:
    engines/hopkins/sound.cpp



diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp
index d86fc44..6b3149e 100644
--- a/engines/hopkins/sound.cpp
+++ b/engines/hopkins/sound.cpp
@@ -275,11 +275,23 @@ void SoundManager::playAnimSound(int animFrame) {
 		case 75:
 			playSample(2);
 			break;
+		case 95:
+			// This fixes an original bug in the Polish version of the bug, which was literally butchered for some reason
+			if (_vm->getLanguage() == Common::PL_POL)
+				playSample(3);
+			break;
 		case 109:
-			playSample(3);
+			if (_vm->getLanguage() != Common::PL_POL)
+				playSample(3);
+			break;
+		case 108:
+			// This fixes an original bug in the Polish version of the bug, which was literally butchered for some reason
+			if (_vm->getLanguage() == Common::PL_POL)
+				playSample(4);
 			break;
 		case 122:
-			playSample(4);
+			if (_vm->getLanguage() != Common::PL_POL)
+				playSample(4);
 			break;
 		}
 	} else if (_specialSoundNum == 1 && animFrame == 17)






More information about the Scummvm-git-logs mailing list