From bfd32c9516a0d62085b04f789b72a8e616051a99 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 5 Dec 2008 10:18:39 +0000 Subject: Bugfix for correctly leaving from looking at the Rite of AshkEnte scroll svn-id: r35248 --- engines/tinsel/dialogs.cpp | 8 ++------ 1 file 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; } -- cgit v1.2.3