diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index f77372f94..f39d81755 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -109,20 +109,21 @@ void I_EndRead(void) { } -// [RH] Returns time in milliseconds -unsigned int I_MSTime (void) -{ - unsigned int time = SDL_GetTicks (); - if (!basetime) - basetime = time; - return time - basetime; -} static DWORD TicStart; static DWORD TicNext; static DWORD BaseTime; static int TicFrozen; +// [RH] Returns time in milliseconds +unsigned int I_MSTime (void) +{ + unsigned int time = SDL_GetTicks (); + if (!BaseTime) + BaseTime = time; + return time - BaseTime; +} + // // I_GetTime // returns time in 1/35th second tics