mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
parent
cf548e055e
commit
fb6a58904a
1 changed files with 14 additions and 0 deletions
|
@ -296,6 +296,18 @@ int moveloop()
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
static void checkTimerActive()
|
||||
{
|
||||
FStat *stat = FStat::FindStat("fps");
|
||||
glcycle_t::active = (stat != NULL && stat->isActive());
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool GameTicker()
|
||||
{
|
||||
if (ps[myconnectindex].gm == MODE_DEMO)
|
||||
|
@ -310,6 +322,8 @@ bool GameTicker()
|
|||
|
||||
C_RunDelayedCommands();
|
||||
|
||||
checkTimerActive();
|
||||
|
||||
gameupdatetime.Reset();
|
||||
gameupdatetime.Clock();
|
||||
|
||||
|
|
Loading…
Reference in a new issue