summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index b5e222be..a69890b0 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -73,6 +73,10 @@ float FramesPerSecond = 30.0f;
bool gbPrintShite = false;
bool gbModelViewer;
+//Custom Timebars Toggle
+#ifdef TIMEBARS
+bool gbShowTimebars;
+#endif
int32 frameCount;
@@ -1096,8 +1100,12 @@ Idle(void *arg)
#endif
CCredits::Render();
+
#ifdef TIMEBARS
+//Custom Timebars toggle
+ if (gbShowTimebars)
tbDisplay();
+
#endif
DoRWStuffEndOfFrame();