mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Added delay() to delayWithTicks() as well. This function is quite similar to
some of the custom delay loops in script_v1.cpp. Could it be used there? svn-id: r22394
This commit is contained in:
@@ -698,6 +698,8 @@ void KyraEngine::delayWithTicks(int ticks) {
|
||||
}
|
||||
if (_skipFlag)
|
||||
break;
|
||||
if (nextTime - _system->getMillis() >= 10)
|
||||
delay(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user