summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
commit55c43466100e4e79af95500f64513c49d7242877 (patch)
tree2376e54398c53697c07bd6809b9648d561516881 /src/core/main.cpp
parentFix build and use enum in ProcessPlayerMood (diff)
parentfixed KYFC (diff)
downloadre3-55c43466100e4e79af95500f64513c49d7242877.tar
re3-55c43466100e4e79af95500f64513c49d7242877.tar.gz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.bz2
re3-55c43466100e4e79af95500f64513c49d7242877.tar.lz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.xz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.zst
re3-55c43466100e4e79af95500f64513c49d7242877.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index b1f1ea50..64b3a63f 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -757,6 +757,8 @@ DisplayGameDebugText()
char str[200];
wchar ustr[200];
+
+#ifdef DRAW_GAME_VERSION_TEXT
wchar ver[200];
AsciiToUnicode(version_name, ver);
@@ -772,6 +774,7 @@ DisplayGameDebugText()
CFont::SetBackGroundOnlyTextOff();
CFont::SetColor(CRGBA(255, 108, 0, 255));
CFont::PrintString(SCREEN_SCALE_X(10.0f), SCREEN_SCALE_Y(10.0f), ver);
+#endif
FrameSamples++;
FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f);