diff options
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index d95e7404..547d3b37 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -73,6 +73,9 @@ float FramesPerSecond = 30.0f; bool gbPrintShite = false; bool gbModelViewer; +#ifdef TIMEBARS +bool gbShowTimebars; +#endif int32 frameCount; @@ -95,7 +98,6 @@ void TheGame(void); void DebugMenuPopulate(void); #endif - void ValidateVersion() { @@ -1095,8 +1097,10 @@ Idle(void *arg) #endif // CCredits::Render(); // They added it to function above and also forgot it here + #ifdef TIMEBARS - tbDisplay(); + if (gbShowTimebars) + tbDisplay(); #endif DoRWStuffEndOfFrame(); |