summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.cpp5
-rw-r--r--src/core/main.h1
-rw-r--r--src/core/re3.cpp4
3 files changed, 4 insertions, 6 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index a69890b0..eb39b287 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -73,7 +73,6 @@ float FramesPerSecond = 30.0f;
bool gbPrintShite = false;
bool gbModelViewer;
-//Custom Timebars Toggle
#ifdef TIMEBARS
bool gbShowTimebars;
#endif
@@ -1102,10 +1101,8 @@ Idle(void *arg)
#ifdef TIMEBARS
-//Custom Timebars toggle
if (gbShowTimebars)
- tbDisplay();
-
+ tbDisplay();
#endif
DoRWStuffEndOfFrame();
diff --git a/src/core/main.h b/src/core/main.h
index 5c514bbb..9ad4ed1c 100644
--- a/src/core/main.h
+++ b/src/core/main.h
@@ -14,7 +14,6 @@ extern wchar gUString[256];
extern wchar gUString2[256];
extern bool gbPrintShite;
extern bool gbModelViewer;
-//Custom Timebars Toggle
#ifdef TIMEBARS
extern bool gbShowTimebars;
#endif
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index c77cf6d9..38854f25 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -461,7 +461,7 @@ DebugMenuPopulate(void)
DebugMenuAddVarBool8("Render", "Don't render Peds", &gbDontRenderPeds, nil);
DebugMenuAddVarBool8("Render", "Don't render Vehicles", &gbDontRenderVehicles, nil);
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, nil);
- DebugMenuAddVarBool8("Render", "Donīt Render Water", &gbDontRenderWater, nil);
+ DebugMenuAddVarBool8("Render", "Don't Render Water", &gbDontRenderWater, nil);
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);
#ifdef MENU_MAP
@@ -492,7 +492,9 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
DebugMenuAddVarBool8("Debug", "Show DebugStuffInRelease", &gbDebugStuffInRelease, nil);
+#ifdef TIMEBARS
DebugMenuAddVarBool8("Debug", "Show Timebars", &gbShowTimebars, nil);
+#endif
extern bool PrintDebugCode;
extern int16 DebugCamMode;