diff options
author | Joost Peters | 2009-02-19 17:40:13 +0000 |
---|---|---|
committer | Joost Peters | 2009-02-19 17:40:13 +0000 |
commit | 6c1b9b6d956dae8c7683dff37008cb41a4f41815 (patch) | |
tree | ec36e6fbb4b418934073bc6c0245f84960892288 /engines/tinsel | |
parent | af7ecbf06085a1e7a35cef9494daa460eb7af050 (diff) | |
download | scummvm-rg350-6c1b9b6d956dae8c7683dff37008cb41a4f41815.tar.gz scummvm-rg350-6c1b9b6d956dae8c7683dff37008cb41a4f41815.tar.bz2 scummvm-rg350-6c1b9b6d956dae8c7683dff37008cb41a4f41815.zip |
Fix #2614150 - DW2: Repeating SFX that should stop/pause don't
svn-id: r38552
Diffstat (limited to 'engines/tinsel')
-rw-r--r-- | engines/tinsel/play.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |