aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-30 13:08:13 +0000
committerOliver Kiehl2003-05-30 13:08:13 +0000
commita7c5dbf7aa1573029897f7744192e5326472d8f2 (patch)
tree321e8577c80170a2be7ca7385508e54ec12b1afb /sky
parentf88dc73bb3b91bfcf1a209abea90c064f5c57c61 (diff)
downloadscummvm-rg350-a7c5dbf7aa1573029897f7744192e5326472d8f2.tar.gz
scummvm-rg350-a7c5dbf7aa1573029897f7744192e5326472d8f2.tar.bz2
scummvm-rg350-a7c5dbf7aa1573029897f7744192e5326472d8f2.zip
bugfix
svn-id: r8137
Diffstat (limited to 'sky')
-rw-r--r--sky/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp
index 1596bb46aa..ef58ee0a2c 100644
--- a/sky/sound.cpp
+++ b/sky/sound.cpp
@@ -1086,7 +1086,7 @@ bool SkySound::fnStartFx(uint32 sound) {
return true;
uint8 screen = (uint8)(SkyLogic::_scriptVariables[SCREEN] & 0xff);
- if (sound == 278 || screen == 25) // is this weld in room 25
+ if (sound == 278 && screen == 25) // is this weld in room 25
sound= 394;
sound &= ~(1 << 8);