Skip to content

Commit a7f5689

Browse files
committed
Update hud_watermark.cpp
1 parent 67c70fe commit a7f5689

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cl_dll/hud_watermark.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#include <steamworks/steam_api.h>
88
#endif
99

10+
bool IsBetaApp()
11+
{
12+
return SteamUtils()->GetAppID() == 3903990;
13+
}
14+
1015
#define DRAW_STRING gEngfuncs.pfnDrawString
1116
int CHudWatermark::Init()
1217
{
@@ -109,7 +114,10 @@ int CHudWatermark::Draw(float time)
109114
DRAW_STRING(ScreenWidth / 20, CharHeight * 4, username, r, g, b);
110115
DRAW_STRING(ScreenWidth / 20, CharHeight * 5, steamIDString, r, g, b);
111116
#ifndef _DEBUG
112-
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "report issues in SteamDiscussions. . .", 255, 0, 0);
117+
if (IsBetaApp())
118+
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "CONFIDENTIAL - internal use only", 255, 0, 0);
119+
else
120+
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "report issues in SteamDiscussions. . .", 255, 0, 0);
113121
#else
114122
DRAW_STRING(ScreenWidth / 20, CharHeight * 6, "DEBUG BUILD - internal use only.", 255, 0, 0);
115123
#endif

0 commit comments

Comments
 (0)