- Changed Linux's I_MSTime to work the same as Windows's.

SVN r1342 (trunk)
This commit is contained in:
Christoph Oelckers 2009-01-01 12:05:02 +00:00
parent 9098bc1a46
commit ee8ce6c1e1

View file

@ -112,7 +112,10 @@ void I_EndRead(void)
// [RH] Returns time in milliseconds
unsigned int I_MSTime (void)
{
return SDL_GetTicks ();
unsigned int time = SDL_GetTicks ();
if (!basetime)
basetime = time;
return time - basetime;
}
static DWORD TicStart;