SVN r1366 (trunk)

This commit is contained in:
Randy Heit 2009-01-25 01:16:00 +00:00
parent ca80217b39
commit b6528a604e
2 changed files with 5 additions and 7 deletions

View file

@ -1,3 +1,7 @@
January 24, 2009
- Removed BaseTime initialization from sdl/i_system.cpp as per Chris's
recommendation.
January 24, 2009 (Changes by Graf Zahl)
- Fixed: The sight checking code didn't initialize the myseethrough variable.
- Fixed: With COMPAT_TRACE switched on linedef actions on lines having

View file

@ -119,8 +119,6 @@ static int TicFrozen;
unsigned int I_MSTime (void)
{
unsigned int time = SDL_GetTicks ();
if (!BaseTime)
BaseTime = time;
return time - BaseTime;
}
@ -135,11 +133,7 @@ int I_GetTimePolled (bool saveMS)
return TicFrozen;
}
DWORD tm = SDL_GetTicks() + 1; // Make sure this isn't 0.
if (BaseTime == 0)
{
BaseTime = tm;
}
DWORD tm = SDL_GetTicks();
if (saveMS)
{