[Scummvm-cvs-logs] scummvm master -> 519184d75c0861de4b9738ffedd3ab9e9100d350

wjp wjp at usecode.org
Tue Dec 6 13:45:39 CET 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:
519184d75c DREAMWEB: Fix language check


Commit: 519184d75c0861de4b9738ffedd3ab9e9100d350
    https://github.com/scummvm/scummvm/commit/519184d75c0861de4b9738ffedd3ab9e9100d350
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-12-06T04:44:54-08:00

Commit Message:
DREAMWEB: Fix language check

Changed paths:
    engines/dreamweb/sprite.cpp



diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 6c8c135..1311c06 100644
--- a/engines/dreamweb/sprite.cpp
+++ b/engines/dreamweb/sprite.cpp
@@ -1122,7 +1122,7 @@ static const ReelSound *g_roomByRoom[] = {
 void DreamGenContext::soundOnReels() {
 	const ReelSound *r = g_roomByRoom[data.byte(kReallocation)];
 
-	if (data.byte(kForeignrelease) && r == g_roomSound29)
+	if (engine->getLanguage() == Common::DE_DEU && r == g_roomSound29)
 		r = g_roomSound29_German;
 
 	for (; r->_sample != 255; ++r) {






More information about the Scummvm-git-logs mailing list