aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/game.cpp')
-rw-r--r--engines/tony/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/game.cpp b/engines/tony/game.cpp
index 377ec73673..820641e48f 100644
--- a/engines/tony/game.cpp
+++ b/engines/tony/game.cpp
@@ -113,7 +113,7 @@ void MainUnfreeze(void) {
}
void MainWaitFrame(CORO_PARAM) {
- g_scheduler->waitForSingleObject(coroParam, _vm->m_hEndOfFrame, INFINITE);
+ CoroScheduler.waitForSingleObject(coroParam, _vm->m_hEndOfFrame, CORO_INFINITE);
}
void MainShowMouse(void) {