mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-27 00:00:35 +01:00
Fixed ScriptThread timing
This commit is contained in:
5 files changed
+12
-12
No files matched your search
@@ -755,9 +755,9 @@ void ScriptMaster::SetTime(int time)
|
||||
timerList.SetDirty();
|
||||
}
|
||||
|
||||
void ScriptMaster::AddTiming(ScriptThread *thread, float time)
|
||||
void ScriptMaster::AddTiming(ScriptThread *thread, int time)
|
||||
{
|
||||
timerList.AddElement(thread, level.inttime + (int)(time * 1000.0f + 0.5f));
|
||||
timerList.AddElement(thread, time);
|
||||
}
|
||||
|
||||
void ScriptMaster::RemoveTiming(ScriptThread *thread)
|
||||
|
||||
Reference in new issue
Block a user