Skip to content

Commit 4e9d900

Browse files
committed
revert checks
1 parent aa397f3 commit 4e9d900

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ This base is specific to multiplayer mod projects.
2828
- Multiplayer NPC support with the BDSBASE_NPC preprocessor definition.
2929
- Various optional preprocessor definitions for changing TF2's behavior.
3030
- Menu music in map backgrounds with adjustable volume and mix volume.
31-
- previous2021 beta detection, allowing players to be informed if they're launching from the wrong SDK 2013 version. This can be disabled with -ignoreprevious2021check.
3231

3332
## Options/Preprocessor Definitions
3433
These options are meant to be added to the VPC files (client and server) of the mod you wish to modify.

src/game/client/cdll_client_int.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,34 +1266,13 @@ bool CHLClient::ReplayPostInit()
12661266
#endif
12671267
}
12681268

1269-
#ifdef BDSBASE
1270-
bool IsNewSDK()
1271-
{
1272-
return engine->GetProtocolVersion() != 24;
1273-
}
1274-
#endif
1275-
12761269
//-----------------------------------------------------------------------------
12771270
// Purpose: Called after client & server DLL are loaded and all systems initialized
12781271
//-----------------------------------------------------------------------------
12791272
void CHLClient::PostInit()
12801273
{
12811274
IGameSystem::PostInitAllSystems();
12821275

1283-
#ifdef BDSBASE
1284-
if (!CommandLine()->FindParm("-forcelaunch") && !IsNewSDK())
1285-
{
1286-
const char* modName = "";
1287-
KeyValuesAD pKVGameInfo("GameInfo");
1288-
if (pKVGameInfo->LoadFromFile(g_pFullFileSystem, "gameinfo.txt", "MOD"))
1289-
{
1290-
modName = pKVGameInfo->GetString("game", "Half-Life 2");
1291-
}
1292-
1293-
Error("The default branch or the upcoming beta must be selected for Source SDK Base 2013 Multiplayer to play %s.", modName);
1294-
}
1295-
#endif
1296-
12971276
#ifdef SIXENSE
12981277
// allow sixnese input to perform post-init operations
12991278
g_pSixenseInput->PostInit();

0 commit comments

Comments
 (0)