aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorRobert Göffringmann2004-01-01 17:10:08 +0000
committerRobert Göffringmann2004-01-01 17:10:08 +0000
commitbd5ec2612b5123b87d3ef9b3ad6c9d033dba63b5 (patch)
treee1de90689ddc3c1067643c59ccdee4bbc9263946 /sword1
parentcf12a5846fc6a164ad46b79c2e12c54128a69ab8 (diff)
downloadscummvm-rg350-bd5ec2612b5123b87d3ef9b3ad6c9d033dba63b5.tar.gz
scummvm-rg350-bd5ec2612b5123b87d3ef9b3ad6c9d033dba63b5.tar.bz2
scummvm-rg350-bd5ec2612b5123b87d3ef9b3ad6c9d033dba63b5.zip
added workaround for missing music file.
svn-id: r12072
Diffstat (limited to 'sword1')
-rw-r--r--sword1/logic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sword1/logic.cpp b/sword1/logic.cpp
index 9b89cbf92d..0793c2d746 100644
--- a/sword1/logic.cpp
+++ b/sword1/logic.cpp
@@ -1519,6 +1519,8 @@ int SwordLogic::fnStopFx(BsObject *cpt, int32 id, int32 fxNo, int32 b, int32 c,
}
int SwordLogic::fnPlayMusic(BsObject *cpt, int32 id, int32 tuneId, int32 loopFlag, int32 c, int32 d, int32 z, int32 x) {
+ if (tuneId == 153)
+ return ;
if (loopFlag == LOOPED)
_scriptVars[CURRENT_MUSIC] = tuneId; // so it gets restarted when saving & reloading
else