- fixed r1342 changes

SVN r1345 (trunk)
This commit is contained in:
Christoph Oelckers 2009-01-01 22:35:29 +00:00
parent 7fde758e26
commit aa5bdd0884

View file

@ -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