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:
Torbjörn Andersson
2006-05-08 16:04:08 +00:00
parent 575eb8b775
commit 816fd39d58
+2
View File
@@ -698,6 +698,8 @@ void KyraEngine::delayWithTicks(int ticks) {
}
if (_skipFlag)
break;
if (nextTime - _system->getMillis() >= 10)
delay(10);
}
}