From 6c1b9b6d956dae8c7683dff37008cb41a4f41815 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Thu, 19 Feb 2009 17:40:13 +0000 Subject: Fix #2614150 - DW2: Repeating SFX that should stop/pause don't svn-id: r38552 --- engines/tinsel/play.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/tinsel/play.cpp') diff --git a/engines/tinsel/play.cpp b/engines/tinsel/play.cpp index 5e5c876abc..e297cb0316 100644 --- a/engines/tinsel/play.cpp +++ b/engines/tinsel/play.cpp @@ -257,7 +257,7 @@ static void SoundReel(CORO_PARAM, SCNHANDLE hFilm, int column, int speed, pAni = (ANI_SCRIPT *)LockMem(FROM_LE_32(pReel->script)); if (_ctx->speed == -1) { - _ctx->speed = (ONE_SECOND/pFilm->frate); + _ctx->speed = (ONE_SECOND/FROM_LE_32(pFilm->frate)); // Restored reel for (;;) { @@ -713,7 +713,7 @@ static void t2PlayReel(CORO_PARAM, int x, int y, bool bRestore, int speed, SCNHA if ((int32)FROM_LE_32(_ctx->pmi->mulID) == -2) { CORO_INVOKE_ARGS(SoundReel, (CORO_SUBCTX, hFilm, column, speed, myescEvent, - _ctx->pmi->otherFlags & OTH_RELATEDACTOR)); + FROM_LE_32(_ctx->pmi->otherFlags) & OTH_RELATEDACTOR)); return; } -- cgit v1.2.3