aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-06 13:44:43 +0100
committerWillem Jan Palenstijn2011-12-06 13:44:54 +0100
commit519184d75c0861de4b9738ffedd3ab9e9100d350 (patch)
treef89cf1ae8ca37ea3674fb608edeadc57e3b3f7cb
parent1434bb35af0fc0c1896b603c05bc3eb4a9561789 (diff)
downloadscummvm-rg350-519184d75c0861de4b9738ffedd3ab9e9100d350.tar.gz
scummvm-rg350-519184d75c0861de4b9738ffedd3ab9e9100d350.tar.bz2
scummvm-rg350-519184d75c0861de4b9738ffedd3ab9e9100d350.zip
DREAMWEB: Fix language check
-rw-r--r--engines/dreamweb/sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp
index 6c8c1356de..1311c06c2d 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) {