diff --git a/source/common/utility/i_time.cpp b/source/common/utility/i_time.cpp index 023860d81..61f7baecb 100644 --- a/source/common/utility/i_time.cpp +++ b/source/common/utility/i_time.cpp @@ -185,15 +185,6 @@ double I_GetTimeFrac() return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime); } -double I_GetBuildTimeFrac() -{ - int currentTic = NSToBuildTic(CurrentFrameStartTime - FirstFrameStartTime); - uint64_t ticStartTime = FirstFrameStartTime + BuildTicToNS(currentTic); - uint64_t ticNextTime = FirstFrameStartTime + BuildTicToNS(currentTic + 1); - - return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime); -} - void I_FreezeTime(bool frozen) { if (frozen) diff --git a/source/common/utility/i_time.h b/source/common/utility/i_time.h index 6f95795dd..4c63515ac 100644 --- a/source/common/utility/i_time.h +++ b/source/common/utility/i_time.h @@ -17,7 +17,6 @@ uint64_t I_GetTimeNS(); int I_GetBuildTime(); double I_GetTimeFrac(); -double I_GetBuildTimeFrac(); // like I_GetTime, except it waits for a new tic before returning int I_WaitForTic(int);