diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-03 00:24:08 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-03 00:24:08 +0200 |
commit | 509ca11d76373671281f17c7f828a0187ed7b9e4 (patch) | |
tree | c3d072fd7933274fbfc9f85f6be4a09613b2e7be /src/core/main.cpp | |
parent | some CBike code; vehicle cleanup (diff) | |
parent | some vehicle cleanup (diff) | |
download | re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.gz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.bz2 re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.lz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.xz re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.zst re3-509ca11d76373671281f17c7f828a0187ed7b9e4.zip |
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(); |