Bugfix to the coroutine handling in CdDoChange

svn-id: r40140
This commit is contained in:
Paul Gilbert 2009-04-25 06:36:20 +00:00
parent fa191f251a
commit d594211ab3

View File

@ -636,11 +636,19 @@ static void CdChangeScene(SCNHANDLE hScene) {
* CdDoChange
*/
void CdDoChange(CORO_PARAM) {
CORO_BEGIN_CONTEXT;
CORO_END_CONTEXT(_ctx);
CORO_BEGIN_CODE(_ctx);
if (!GotoCD())
return;
CdCD(coroParam);
CORO_INVOKE_0(CdCD);
CdHasChanged();
CORO_END_CODE;
}
/**