From bd5ec2612b5123b87d3ef9b3ad6c9d033dba63b5 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Thu, 1 Jan 2004 17:10:08 +0000 Subject: added workaround for missing music file. svn-id: r12072 --- sword1/logic.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sword1') 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 -- cgit v1.2.3