aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/play.cpp
diff options
context:
space:
mode:
authorJoost Peters2009-02-19 17:40:13 +0000
committerJoost Peters2009-02-19 17:40:13 +0000
commit6c1b9b6d956dae8c7683dff37008cb41a4f41815 (patch)
treeec36e6fbb4b418934073bc6c0245f84960892288 /engines/tinsel/play.cpp
parentaf7ecbf06085a1e7a35cef9494daa460eb7af050 (diff)
downloadscummvm-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/play.cpp')
-rw-r--r--engines/tinsel/play.cpp4
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;
}