[Scummvm-cvs-logs] scummvm master -> 14ab55e9badc97fd6554214408da33663a88c792

Strangerke Strangerke at scummvm.org
Sat Nov 1 12:38:24 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:
14ab55e9ba HOPKINS: Add a check for another sound related to frames removed in the Polish version. Fix for bug #6591


Commit: 14ab55e9badc97fd6554214408da33663a88c792
    https://github.com/scummvm/scummvm/commit/14ab55e9badc97fd6554214408da33663a88c792
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-11-01T12:35:59+01:00

Commit Message:
HOPKINS: Add a check for another sound related to frames removed in the Polish version. Fix for bug #6591

Changed paths:
    engines/hopkins/sound.cpp



diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp
index b429eb8..6660233 100644
--- a/engines/hopkins/sound.cpp
+++ b/engines/hopkins/sound.cpp
@@ -273,7 +273,10 @@ void SoundManager::playAnimSound(int animFrame) {
 			playSample(1);
 			break;
 		case 75:
-			playSample(2);
+			// This removes the sound of the gun played while the guard is being shot, as this part of the scene has been
+			// removed in the Polish version of the game
+			if (_vm->getLanguage() != Common::PL_POL)
+				playSample(2);
 			break;
 		case 95:
 			// This fixes an original bug in the Polish version of the game, which was literally butchered for some reason






More information about the Scummvm-git-logs mailing list