Browse Source

Update game description.

visitors
Night Owl 7 years ago
parent
commit
8fb5b78fda
  1. 2
      dlls/client.cpp
  2. 2
      dlls/gamerules.h

2
dlls/client.cpp

@ -949,7 +949,7 @@ const char *GetGameDescription() @@ -949,7 +949,7 @@ const char *GetGameDescription()
if( g_pGameRules ) // this function may be called before the world has spawned, and the game rules initialized
return g_pGameRules->GetGameDescription();
else
return "Half-Life";
return "Half-Life: Visitors";
}
/*

2
dlls/gamerules.h

@ -76,7 +76,7 @@ public: @@ -76,7 +76,7 @@ public:
virtual BOOL IsDeathmatch( void ) = 0;//is this a deathmatch game?
virtual BOOL IsTeamplay( void ) { return FALSE; };// is this deathmatch game being played with team rules?
virtual BOOL IsCoOp( void ) = 0;// is this a coop game?
virtual const char *GetGameDescription( void ) { return "Half-Life"; } // this is the game name that gets seen in the server browser
virtual const char *GetGameDescription( void ) { return "Half-Life: Visitors"; } // this is the game name that gets seen in the server browser
// Client connection/disconnection
virtual BOOL ClientConnected( edict_t *pEntity, const char *pszName, const char *pszAddress, char szRejectReason[128] ) = 0;// a client just connected to the server (player hasn't spawned yet)

Loading…
Cancel
Save