[Scummvm-cvs-logs] SF.net SVN: scummvm:[38552] scummvm/trunk/engines/tinsel/play.cpp
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Thu Feb 19 18:40:13 CET 2009
Revision: 38552
http://scummvm.svn.sourceforge.net/scummvm/?rev=38552&view=rev
Author: joostp
Date: 2009-02-19 17:40:13 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fix #2614150 - DW2: Repeating SFX that should stop/pause don't
Modified Paths:
--------------
scummvm/trunk/engines/tinsel/play.cpp
Modified: scummvm/trunk/engines/tinsel/play.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/play.cpp 2009-02-19 16:17:08 UTC (rev 38551)
+++ scummvm/trunk/engines/tinsel/play.cpp 2009-02-19 17:40:13 UTC (rev 38552)
@@ -257,7 +257,7 @@
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 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list