Skip to content

Commit 6c6e6bb

Browse files
committed
Update hud_watermark.cpp
1 parent 1dd5f6d commit 6c6e6bb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cl_dll/hud_watermark.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int CHudWatermark::Draw(float time)
3333
draw_until = gHUD.m_flTime + 15.0f;
3434
}
3535

36-
#ifndef CLOSED_BETA
36+
#if !defined (CLOSED_BETA) && !defined (_DEBUG)
3737
if (gHUD.m_flTime >= draw_until)
3838
{
3939
m_iFlags &= ~HUD_ACTIVE;
@@ -102,13 +102,17 @@ int CHudWatermark::Draw(float time)
102102
if (hud_watermark->value == 1)
103103
{
104104
#endif
105-
#if defined(_STEAMWORKS) && (CLOSED_BETA)
105+
#if defined(_STEAMWORKS) && defined(CLOSED_BETA) || defined(_DEBUG)
106106
DRAW_STRING(ScreenWidth / 20, CharHeight, "BETA - work in progress", r, g, b);
107107
DRAW_STRING(ScreenWidth / 20, CharHeight * 2, zamnhlmpVersion, r, g, b); // read from version.txt
108108
DRAW_STRING(ScreenWidth / 20, CharHeight * 3, "client built " __DATE__, r, g, b);
109109
DRAW_STRING(ScreenWidth / 20, CharHeight * 4, username, r, g, b);
110110
DRAW_STRING(ScreenWidth / 20, CharHeight * 5, steamIDString, r, g, b);
111+
#ifndef _DEBUG
111112
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "report issues in SteamDiscussions. . .", 255, 0, 0);
113+
#else
114+
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "DEBUG BUILD - internal use only.", 255, 0, 0);
115+
#endif
112116

113117
DRAW_STRING((ScreenWidth - textWidth) / 2, ScreenHeight - CharHeight * 2, steamIDString, r, g, b);
114118
#else

0 commit comments

Comments
 (0)