Skip to content

Commit 1c745b3

Browse files
committed
introduce BDSBASE_DISCORD
1 parent 63d07fc commit 1c745b3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/game/client/cdll_client_int.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150

151151
#endif
152152

153-
#ifdef BDSBASE
153+
#ifdef BDSBASE_DISCORD
154154
#ifdef WIN32
155155
// not adding a VPC path just for this smh...
156156
#include "../thirdparty/discord-rpc/include/discord_rpc.h"
@@ -343,7 +343,7 @@ static ConVar s_CV_ShowParticleCounts("showparticlecounts", "0", 0, "Display num
343343
static ConVar s_cl_team("cl_team", "default", FCVAR_USERINFO|FCVAR_ARCHIVE, "Default team when joining a game");
344344
static ConVar s_cl_class("cl_class", "default", FCVAR_USERINFO|FCVAR_ARCHIVE, "Default class when joining a game");
345345

346-
#ifdef BDSBASE
346+
#ifdef BDSBASE_DISCORD
347347
#ifdef WIN32
348348
// Discord RPC
349349
static ConVar cl_discord_appid("cl_discord_appid", "1347077140306464838", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT);
@@ -878,7 +878,7 @@ CHLClient::CHLClient()
878878
g_bLevelInitialized = false;
879879
}
880880

881-
#ifdef BDSBASE
881+
#ifdef BDSBASE_DISCORD
882882
#ifdef WIN32
883883
//-----------------------------------------------------------------------------
884884
// Discord RPC
@@ -1174,7 +1174,7 @@ int CHLClient::Init( CreateInterfaceFn appSystemFactory, CreateInterfaceFn physi
11741174
RegisterSecureLaunchProcessFunc( pfnUnsafeCmdLineProcessor );
11751175
}
11761176

1177-
#ifdef BDSBASE
1177+
#ifdef BDSBASE_DISCORD
11781178
#ifdef WIN32
11791179
if (cl_discord.GetBool())
11801180
{
@@ -1351,7 +1351,7 @@ void CHLClient::Shutdown( void )
13511351
ClientSteamContext().Shutdown();
13521352
#endif
13531353

1354-
#ifdef BDSBASE
1354+
#ifdef BDSBASE_DISCORD
13551355
#ifdef WIN32
13561356
if (cl_discord.GetBool())
13571357
{
@@ -1779,7 +1779,7 @@ void CHLClient::LevelInitPreEntity( char const* pMapName )
17791779
// Check low violence settings for this map
17801780
g_RagdollLVManager.SetLowViolence( pMapName );
17811781

1782-
#ifdef BDSBASE
1782+
#ifdef BDSBASE_DISCORD
17831783
#ifdef WIN32
17841784
if (cl_discord.GetBool())
17851785
{
@@ -1910,7 +1910,7 @@ void CHLClient::LevelShutdown( void )
19101910

19111911
gHUD.LevelShutdown();
19121912

1913-
#ifdef BDSBASE
1913+
#ifdef BDSBASE_DISCORD
19141914
#ifdef WIN32
19151915
if (cl_discord.GetBool())
19161916
{

0 commit comments

Comments
 (0)