- removed I_ResetTime entirely and refactored SW's use of it.

This commit is contained in:
Christoph Oelckers 2020-08-30 08:13:34 +02:00
parent 49106c5b5e
commit 1e0b8038e5
5 changed files with 12 additions and 16 deletions

View file

@ -175,11 +175,6 @@ int I_GetBuildTime()
return NSToBuildTic(CurrentFrameStartTime - FirstFrameStartTime);
}
void I_ResetTime()
{
FirstFrameStartTime = CurrentFrameStartTime = 0;
}
double I_GetTimeFrac()
{
int currentTic = NSToTic(CurrentFrameStartTime - FirstFrameStartTime);