mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
SVN r1366 (trunk)
This commit is contained in:
parent
ca80217b39
commit
b6528a604e
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue