diff options
author | Paul Gilbert | 2008-12-05 10:18:39 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-12-05 10:18:39 +0000 |
commit | bfd32c9516a0d62085b04f789b72a8e616051a99 (patch) | |
tree | 28c26f3178054fc7e845ab4cfcc6ff27a1977145 | |
parent | 275485c9836f6bba8581321df7d30e08c74b3ba5 (diff) | |
download | scummvm-rg350-bfd32c9516a0d62085b04f789b72a8e616051a99.tar.gz scummvm-rg350-bfd32c9516a0d62085b04f789b72a8e616051a99.tar.bz2 scummvm-rg350-bfd32c9516a0d62085b04f789b72a8e616051a99.zip |
Bugfix for correctly leaving from looking at the Rite of AshkEnte scroll
svn-id: r35248
-rw-r--r-- | engines/tinsel/dialogs.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/tinsel/dialogs.cpp b/engines/tinsel/dialogs.cpp index cc844278fb..7118c6a784 100644 --- a/engines/tinsel/dialogs.cpp +++ b/engines/tinsel/dialogs.cpp @@ -1451,12 +1451,8 @@ void ObjectEvent(CORO_PARAM, int objId, TINSEL_EVENT event, bool bWait, int myEs if (bWait) CORO_INVOKE_2(WaitInterpret, _ctx->pProc, result); - else - // FIXME: Essential to ensure created ObjectProcess coroutine has a chance to start - // up, for the scene restore when returning from looking at the AshkEnte instructions - // to work. Really need to trace operation of original to see at what point the scene - // save is done, and when control was first yielded to the ObjectProcess coroutine - CORO_SLEEP(1); + else if (result) + *result = false; CORO_END_CODE; } |